XmlElement.RemoveChild(IXmlNode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.