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.20.0
Syntax 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 Exception | Condition |
---|
ObjectDisposedException | The IAttributes has already been disposed. |
See Also