This documentation is archived and is not being maintained.

AttributeCollection Methods

The AttributeCollection type exposes the following members.

  NameDescription
Public method Add Adds an attribute to a server control's AttributeCollection object.
Public method AddAttributes Adds attributes from the AttributeCollection class to the HtmlTextWriter object that is responsible for rendering the attributes as markup.
Public method Clear Removes all attributes from a server control's AttributeCollection object.
Public method Equals Determines whether the current instance of the AttributeCollection object is equal to the specified object. (Overrides Object::Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Overrides Object::GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes an attribute from a server control's AttributeCollection object.
Public method Render Writes the collection of attributes to the specified HtmlTextWriter output stream for the control to which the collection belongs.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show: