Share via


XmlElement.RemoveChild(IXmlNode) Method

Definition

Removes the specified child node from the list of children and returns it.

public:
 virtual IXmlNode ^ RemoveChild(IXmlNode ^ childNode) = RemoveChild;
IXmlNode RemoveChild(IXmlNode const& childNode);
public IXmlNode RemoveChild(IXmlNode childNode);
function removeChild(childNode)
Public Function RemoveChild (childNode As IXmlNode) As IXmlNode

Parameters

childNode
IXmlNode

The child node to be removed from the list of children of this node.

Returns

The removed child node. If null, the childNode object is not removed.

Implements

Applies to