System.Web.UI.ChtmlTextWriter.RemoveRecognizedAttribute Method

Removes an attribute of a cHTML element of the System.Web.UI.ChtmlTextWriter object.

Syntax

public virtual void RemoveRecognizedAttribute (string elementName, string attributeName)

Parameters

elementName
The cHTML element to remove an attribute from.
attributeName
The attribute to remove from elementName.

Remarks

The ChtmlTextWriter.RemoveRecognizedAttribute(string, string) method removes an attribute from a cHTML element. The recognized attribute is removed from the recognized attributes Hashtable collection of the System.Web.UI.ChtmlTextWriter object that is referenced by the ChtmlTextWriter.RecognizedAttributes property.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0