ChtmlTextWriter.RemoveRecognizedAttribute Method (String, String)

 

Removes an attribute of a cHTML element of the ChtmlTextWriter object.

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

abstract RemoveRecognizedAttribute : 
        elementName:string *
        attributeName:string -> unit
override RemoveRecognizedAttribute : 
        elementName:string *
        attributeName:string -> unit

Parameters

elementName
Type: System.String

The cHTML element to remove an attribute from.

attributeName
Type: System.String

The attribute to remove from elementName.

The RemoveRecognizedAttribute method removes an attribute from a cHTML element. The recognized attribute is removed from the recognized attributes Hashtable collection of the ChtmlTextWriter object that is referenced by the RecognizedAttributes property.

.NET Framework
Available since 2.0
Return to top
Show: