Export (0) Print
Expand All

AttributeCollection Members

The following tables list the members exposed by the AttributeCollection type.

  Name Description
Public method AttributeCollection Initializes a new instance of the AttributeCollection class.
Top

  Name Description
Public property Count Gets the number of attributes in the AttributeCollection object.
Public property CssStyle Gets a collection of styles for the ASP.NET server control to which the current AttributeCollection object belongs.
Public property Item Gets or sets a specified attribute value for a server control.
Public property Keys Gets a collection of keys to all attributes in the server control's AttributeCollection object.
Top

(see also Protected Methods )
  Name Description
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 Overloaded. Overridden. Returns a value that indicates whether two instances of the AttributeCollection collection are equal.
Public method GetHashCode Overridden. Returns the hash code for this instance.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (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

  Name Description
Protected method 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)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft