Share via


CustomXMLNode Methods

Include Protected Members
Include Inherited Members

The CustomXMLNode type exposes the following members.

Methods

  Name Description
Public method AppendChildNode Appends a single node as the last child under the context element node in the tree.
Public method AppendChildSubtree Adds a subtree as the last child under the context element node in the tree.
Public method Delete Deletes the current node from the tree (including all of its children, if any exist).
Public method HasChildNodes Returns True if the current element node has child element nodes.
Public method InsertNodeBefore Inserts a new node just before the context node in the tree.
Public method InsertSubtreeBefore Inserts the specified subtree into the location just before the context node.
Public method RemoveChild Removes the specified child node from the tree.
Public method ReplaceChildNode Removes the specified child node (and its subtree) from the main tree, and replaces it with a different node in the same location.
Public method ReplaceChildSubtree Removes the specified node (and its subtree) from the main tree, and replaces it with a different subtree in the same location.
Public method SelectNodes Selects a collection of nodes matching an XPath expression. This method differs from the _CustomXMLPart.SelectNodes(String) method in that the XPath expression will be evaluated starting with the 'expression' node as the context node.
Public method SelectSingleNode Selects a single node from a collection matching an XPath expression. This method differs from the _CustomXMLPart.SelectSingleNode(String) method in that the XPath expression will be evaluated starting with the 'expression' node as the context node.

Top

See Also

Reference

CustomXMLNode Interface

Microsoft.Office.Core Namespace