Export (0) Print
Expand All

DynamicControl.SetAttribute Method

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.

Implements

IAttributeAccessor.SetAttribute(String, String)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft