The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
XmlElement::RemoveAttributeNode Method (XmlAttribute^)
.NET Framework (current version)
Removes the specified XmlAttribute.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- oldAttr
-
Type:
System.Xml::XmlAttribute^
The XmlAttribute node to remove. If the removed attribute has a default value, it is immediately replaced.
Return Value
Type: System.Xml::XmlAttribute^The removed XmlAttribute or null if oldAttr is not an attribute node of the XmlElement.
| Exception | Condition |
|---|---|
| ArgumentException | This node is read-only. |
Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Available since 10
.NET Framework
Available since 1.1
Show: