System.Web.UI Namespace AttributeCollection Class
Adds an item to the AttributeCollection.
[ VB ]
Overridable Public Sub Add ( _
ByVal key As String, _
ByVal value As String _
)
[ C# ]
public virtual void Add (
string key,
string value
);
[ C++ ]
public: virtual void Add (
String* key,
String* value
);
[ JScript ]
public function Add (
key : String,
value : String
);
- key
- Index assigned to the new attribute in the collection.
- value
- Attribute to store in the collection.
AttributeCollection Members