DynamicControl.SetAttribute Method (String, String)

 

Sets the specified attribute to the specified value.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public void SetAttribute(
	string key,
	string value
)

Parameters

key
Type: System.String

The name of the attribute to set.

value
Type: System.String

The value to assign to the attribute.

.NET Framework
Available since 3.5
Return to top
Show: