HtmlAttributeCollection Methods |
The HtmlAttributeCollection type exposes the following members.
Name | Description | |
---|---|---|
Add(HtmlAttribute) |
Adds supplied item to collection
| |
Add(String, String) |
Adds a new attribute to the collection with the given values
| |
Append(String) |
Creates and inserts a new attribute as the last attribute in the collection.
| |
Append(HtmlAttribute) |
Inserts the specified attribute as the last attribute in the collection.
| |
Append(String, String) |
Creates and inserts a new attribute as the last attribute in the collection.
| |
AttributesWithName |
Returns all attributes with specified name. Handles case insentivity
| |
Contains(String) |
Checks for existance of attribute with given name
| |
Contains(HtmlAttribute) |
Retreives existence of supplied item
| |
CopyTo |
Copies collection to array
| |
IndexOf |
Retrieves the index for the supplied item, -1 if not found
| |
Insert |
Inserts given item into collection at supplied index
| |
Prepend |
Inserts the specified attribute as the first node in the collection.
| |
Remove |
Removes all attributes from the collection
| |
Remove(String) |
Removes an attribute from the list, using its name. If there are more than one attributes with this name, they will all be removed.
| |
Remove(HtmlAttribute) |
Removes a given attribute from the list.
| |
RemoveAll |
Remove all attributes in the list.
| |
RemoveAt |
Removes the attribute at the specified index.
|