XmlAttribute.RemoveChild(XmlNode) XmlAttribute.RemoveChild(XmlNode) XmlAttribute.RemoveChild(XmlNode) XmlAttribute.RemoveChild(XmlNode) Method

Definition

Removes the specified child node.

public:
 override System::Xml::XmlNode ^ RemoveChild(System::Xml::XmlNode ^ oldChild);
public override System.Xml.XmlNode RemoveChild (System.Xml.XmlNode oldChild);
override this.RemoveChild : System.Xml.XmlNode -> System.Xml.XmlNode
Public Overrides Function RemoveChild (oldChild As XmlNode) As XmlNode

Parameters

oldChild
XmlNode XmlNode XmlNode XmlNode

The XmlNode to remove.

Returns

Exceptions

The oldChild is not a child of this node. Or this node is read-only.

Examples

For an example of the RemoveChild method, see the RemoveChild method.

Applies to