DOMTokenList Class |
Namespace: Aspose.Html.Collections
The DOMTokenList type exposes the following members.
Name | Description | |
---|---|---|
![]() | Item |
Returns the item in the list by its index, or null if index is greater than or equal to the list's length.
|
![]() | Length |
Returns an ulong which represents the number of tokens stored in this list.
|
![]() | Value |
Gets or sets the value of a corresponding attribute.
|
Name | Description | |
---|---|---|
![]() | Add |
Adds the specified token(s) to the list.
|
![]() | Contains |
Returns true if the list contains the given token, otherwise false.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove |
Removes the specified token(s) from the list.
|
![]() | Replace |
Replaces an existing token with a new token. Does nothing if the first token doesn't exist.
|
![]() | Supports |
Returns true if a given token is in the associated attribute's supported tokens.
|
![]() | Toggle(String) |
Removes the token from the list if it exists, or adds the token to the list if it doesn't.
|
![]() | Toggle(String, NullableBoolean) |
Removes the token from the list if it exists, or adds the token to the list if it doesn't.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |