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)

abstract SetAttribute : 
        key:string *
        value:string -> unit
override SetAttribute : 
        key:string *
        value:string -> unit

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: