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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om