Click or drag to resize

IAttributes Interface

A dictionary that contains IElement attributes. Modifying this dictionary will lead to modifying the element attributes.

Namespace:  DotNetBrowser.Dom
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.3
Syntax
C#
public interface IAttributes : IAutoDisposable, 
	IDictionary<string, string>, ICollection<KeyValuePair<string, string>>, 
	IEnumerable<KeyValuePair<string, string>>, IEnumerable

The IAttributes type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements contained in the ICollectionT.
(Inherited from ICollectionKeyValuePairString, String.)
Public propertyIsDisposed
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.)
Public propertyIsReadOnly
Gets a value indicating whether the ICollectionT is read-only.
(Inherited from ICollectionKeyValuePairString, String.)
Public propertyItem
Gets or sets the element with the specified key.
(Inherited from IDictionaryString, String.)
Public propertyKeys
Gets an ICollectionT containing the keys of the IDictionaryTKey, TValue.
(Inherited from IDictionaryString, String.)
Public propertyValues
Gets an ICollectionT containing the values in the IDictionaryTKey, TValue.
(Inherited from IDictionaryString, String.)
Top
Methods
  NameDescription
Public methodAdd(T)
Adds an item to the ICollectionT.
(Inherited from ICollectionKeyValuePairString, String.)
Public methodAdd(TKey, TValue)
Adds an element with the provided key and value to the IDictionaryTKey, TValue.
(Inherited from IDictionaryString, String.)
Public methodAsReadOnly
Gets a read-only dictionary that contains a snapshot of the attributes of the current element.
Public methodClear
Removes all items from the ICollectionT.
(Inherited from ICollectionKeyValuePairString, String.)
Public methodContains
Determines whether the ICollectionT contains a specific value.
(Inherited from ICollectionKeyValuePairString, String.)
Public methodContainsKey
Determines whether the IDictionaryTKey, TValue contains an element with the specified key.
(Inherited from IDictionaryString, String.)
Public methodCopyTo
Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
(Inherited from ICollectionKeyValuePairString, String.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableKeyValuePairString, String.)
Public methodRemove(TKey)
Removes the element with the specified key from the IDictionaryTKey, TValue.
(Inherited from IDictionaryString, String.)
Public methodRemove(T)
Removes the first occurrence of a specific object from the ICollectionT.
(Inherited from ICollectionKeyValuePairString, String.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from IDictionaryString, String.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.)
Top
See Also