System.Xml.XmlElement.RemoveAttributeNode Method

Removes the System.Xml.XmlAttribute specified by the local name and namespace URI. (If the removed attribute has a default value, it is immediately replaced).

Syntax

public virtual XmlAttribute RemoveAttributeNode (string localName, string namespaceURI)

Parameters

localName
The local name of the attribute.
namespaceURI
The namespace URI of the attribute.

Returns

The removed XmlAttribute or null if the XmlElement does not have a matching attribute node.

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