ChtmlTextWriter.AddRecognizedAttribute Method (String, String)
.NET Framework (current version)
Adds an attribute to a cHTML element of the ChtmlTextWriter object.
Assembly: System.Web (in System.Web.dll)
abstract AddRecognizedAttribute : elementName:string * attributeName:string -> unit override AddRecognizedAttribute : elementName:string * attributeName:string -> unit
Parameters
- elementName
-
Type:
System.String
The cHTML element to add the attribute to.
- attributeName
-
Type:
System.String
The attribute to add to elementName.
The AddRecognizedAttribute method adds an attribute to a cHTML element. The recognized attribute is stored in the recognized attributes Hashtable collection of the ChtmlTextWriter object that is referenced by the RecognizedAttributes property.
.NET Framework
Available since 2.0
Available since 2.0
Show: