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.27.0
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 ICollection<T>.
(Inherited from ICollection<KeyValuePair<String, String>>.)
Public propertyIsDisposed
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.)
Public propertyIsReadOnly
Gets a value indicating whether the ICollection<T> is read-only.
(Inherited from ICollection<KeyValuePair<String, String>>.)
Public propertyItem
Gets or sets the element with the specified key.
(Inherited from IDictionary<String, String>.)
Public propertyKeys
Gets an ICollection<T> containing the keys of the IDictionary<TKey, TValue>.
(Inherited from IDictionary<String, String>.)
Public propertyValues
Gets an ICollection<T> containing the values in the IDictionary<TKey, TValue>.
(Inherited from IDictionary<String, String>.)
Top
Methods
  NameDescription
Public methodAdd(T)
Adds an item to the ICollection<T>.
(Inherited from ICollection<KeyValuePair<String, String>>.)
Public methodAdd(TKey, TValue)
Adds an element with the provided key and value to the IDictionary<TKey, TValue>.
(Inherited from IDictionary<String, 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 ICollection<T>.
(Inherited from ICollection<KeyValuePair<String, String>>.)
Public methodContains
Determines whether the ICollection<T> contains a specific value.
(Inherited from ICollection<KeyValuePair<String, String>>.)
Public methodContainsKey
Determines whether the IDictionary<TKey, TValue> contains an element with the specified key.
(Inherited from IDictionary<String, String>.)
Public methodCopyTo
Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
(Inherited from ICollection<KeyValuePair<String, String>>.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<KeyValuePair<String, String>>.)
Public methodRemove(TKey)
Removes the element with the specified key from the IDictionary<TKey, TValue>.
(Inherited from IDictionary<String, String>.)
Public methodRemove(T)
Removes the first occurrence of a specific object from the ICollection<T>.
(Inherited from ICollection<KeyValuePair<String, String>>.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from IDictionary<String, String>.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.)
Top
See Also