XmlAttribute::RemoveChild Method (XmlNode^)
.NET Framework (current version)
Removes the specified child node.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- oldChild
-
Type:
System.Xml::XmlNode^
The XmlNode to remove.
| Exception | Condition |
|---|---|
| ArgumentException | The oldChild is not a child of this node. Or this node is read-only. |
For an example of the RemoveChild method, see the RemoveChild method.
Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Available since 10
.NET Framework
Available since 2.0
Show: