CustomXMLNode.RemoveChild(CustomXMLNode) Method

Definition

Removes the specified child node from the tree.

public:
 void RemoveChild(Microsoft::Office::Core::CustomXMLNode ^ Child);
public void RemoveChild (Microsoft.Office.Core.CustomXMLNode Child);
abstract member RemoveChild : Microsoft.Office.Core.CustomXMLNode -> unit
Public Sub RemoveChild (Child As CustomXMLNode)

Parameters

Child
CustomXMLNode

Represents the child node of the context node.

Remarks

If the node specified in the Child parameter is not a child of the context node or if the action would result in an invalid tree, the removal is not performed and an error message is displayed.

Applies to