System.Web.UI.ChtmlTextWriter.AddRecognizedAttribute Method

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

Syntax

public virtual void AddRecognizedAttribute (string elementName, string attributeName)

Parameters

elementName
The cHTML element to add the attribute to.
attributeName
The attribute to add to elementName.

Remarks

The ChtmlTextWriter.AddRecognizedAttribute(string, string) method adds an attribute to a cHTML element. The recognized attribute is stored in 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