System.Web.UI.AttributeCollection: Method Members

The methods of System.Web.UI.AttributeCollection are listed below. For a list of all members, see the AttributeCollection Members list.

See Also: Inherited members from System.Object

Public Methods

Add(string, string)

Adds an attribute to a server control's System.Web.UI.AttributeCollection object.

AddAttributes(HtmlTextWriter)

Adds attributes from the System.Web.UI.AttributeCollection class to the System.Web.UI.HtmlTextWriter object that is responsible for rendering the attributes as markup.

Clear()

Removes all attributes from a server control's System.Web.UI.AttributeCollection object.

override
Equals(object) : bool

Determines whether the current instance of the System.Web.UI.AttributeCollection object is equal to the specified object.

override
GetHashCode() : int

Returns the hash code for this instance.

Remove(string)

Removes an attribute from a server control's System.Web.UI.AttributeCollection object.

Render(HtmlTextWriter)

Writes the collection of attributes to the specified System.Web.UI.HtmlTextWriter output stream for the control to which the collection belongs.