Bewerken

Share via


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

The XmlNode to remove.

Returns

The XmlNode removed.

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