Share via


XmlElement.RemoveAttribute(String) Method

Definition

Removes or replaces the named attribute.

public:
 virtual void RemoveAttribute(Platform::String ^ attributeName) = RemoveAttribute;
void RemoveAttribute(winrt::hstring const& attributeName);
public void RemoveAttribute(string attributeName);
function removeAttribute(attributeName)
Public Sub RemoveAttribute (attributeName As String)

Parameters

attributeName
String

Platform::String

winrt::hstring

The name of the attribute to be removed.

Applies to