Click or drag to resize

IAttributesAsReadOnly Method

Gets a read-only dictionary that contains a snapshot of the attributes of the current element.

Namespace:  DotNetBrowser.Dom
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.7
Syntax
C#
IReadOnlyDictionary<string, string> AsReadOnly()

Return Value

Type: IReadOnlyDictionaryString, String
The dictionary that contains a snapshot of the attributes of the current element. The returned dictionary will be empty if the element doesn't have any attributes.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IAttributes has already been disposed.
See Also