Windows apps
Collapse the table of content
Expand the table of content
Information
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.

XmlAttribute::RemoveChild Method (XmlNode^)

 

Removes the specified child node.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public:
virtual XmlNode^ RemoveChild(
	XmlNode^ oldChild
) override

Parameters

oldChild
Type: System.Xml::XmlNode^

The XmlNode to remove.

Return Value

Type: System.Xml::XmlNode^

The XmlNode removed.

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
Return to top
Show:
© 2017 Microsoft