A Sandcastle Documented Class Library |
HtmlAttributeCollection Methods |
HtmlAttributeCollection Class See Also Send Feedback |
The HtmlAttributeCollection type exposes the following members.
Methods
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
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf |
Retrieves the index for the supplied item, -1 if not found
| |
Insert |
Inserts given item into collection at supplied index
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.
| |
ToString | (Inherited from Object.) |