System.Web.UI.IAttributeAccessor.SetAttribute Method

When implemented by a class, designates an attribute and its value to assign to the ASP.NET server control.

Syntax

public void SetAttribute (string key, string value)

Parameters

key
The name of the attribute to be set.
value
The value assigned to the attribute.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0