DynamicControl.SetAttribute Method (String, String)
.NET Framework (current version)
Sets the specified attribute to the specified value.
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
Available since 3.5
Show: