Table of Contents

Method AsReadOnly

Namespace
DotNetBrowser.Dom
Assembly
DotNetBrowser.dll

AsReadOnly()

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

IReadOnlyDictionary<string, string> AsReadOnly()

Returns

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

ObjectDisposedException

The IAttributes has already been disposed.