System.Xml.XmlElement.RemoveAttributeNode Method

Removes the specified System.Xml.XmlAttribute.

Syntax

public virtual XmlAttribute RemoveAttributeNode (XmlAttribute oldAttr)

Parameters

oldAttr
The XmlAttribute node to remove. If the removed attribute has a default value, it is immediately replaced.

Returns

The removed XmlAttribute or null if oldAttr is not an attribute node of the XmlElement.

Remarks

Documentation for this section has not yet been entered.

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