System.Xml.XmlElement.RemoveAllAttributes Method

Removes all specified attributes from the element. Default attributes are not removed.

Syntax

public virtual void RemoveAllAttributes ()

Remarks

This method is a Microsoft extension to the Document Object Model (DOM).

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0