Edit

Share via


ChtmlTextWriter.RemoveRecognizedAttribute(String, String) Method

Definition

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

public:
 virtual void RemoveRecognizedAttribute(System::String ^ elementName, System::String ^ attributeName);
public virtual void RemoveRecognizedAttribute (string elementName, string attributeName);
abstract member RemoveRecognizedAttribute : string * string -> unit
override this.RemoveRecognizedAttribute : string * string -> unit
Public Overridable Sub RemoveRecognizedAttribute (elementName As String, attributeName As String)

Parameters

elementName
String

The cHTML element to remove an attribute from.

attributeName
String

The attribute to remove from elementName.

Remarks

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.

Applies to

See also