ChtmlTextWriter.RemoveRecognizedAttribute(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.