Click or drag to resize

IAttributes.AsReadOnly 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.21.0
Syntax
C#
IReadOnlyDictionary<string, string> AsReadOnly()

Return Value

Type: IReadOnlyDictionary<String, 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