XhtmlTextWriter.RemoveRecognizedAttribute Method (String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes an attribute from the ElementSpecificAttributes collection of an element.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public virtual void RemoveRecognizedAttribute(
	string elementName,
	string attributeName
)

Parameters

elementName
Type: System.String

The XHTML element to remove an attribute from.

attributeName
Type: System.String

The attribute to remove from the specified XHTML element.

.NET Framework
Available since 2.0
Return to top
Show: