Table of contents
TOC
Collapse the table of content
Expand the table of content

CustomXMLNode Methods (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Methods

NameDescription
AppendChildNodeAppends a single node as the last child under the context element node in the tree.
AppendChildSubtreeAdds a subtree as the last child under the context element node in the tree.
DeleteDeletes the current node from the tree (including all of its children, if any exist).
HasChildNodesGets True if the current element node has child element nodes.
InsertNodeBeforeInserts a new node just before the context node in the tree.
InsertSubtreeBeforeInserts the specified subtree into the location just before the context node.
RemoveChildRemoves the specified child node from the tree.
ReplaceChildNodeRemoves the specified child node (and its subtree) from the main tree, and replaces it with a different node in the same location.
ReplaceChildSubtreeRemoves the specified node (and its subtree) from the main tree, and replaces it with a different subtree in the same location.
SelectNodesSelects a collection of nodes matching an XPath expression. This method differs from the CustomXMLPart. SelectNodes method in that the XPath expression will be evaluated starting with the 'expression' node as the context node.
SelectSingleNodeSelects a single node from a collection matching an XPath expression. This method differs from the CustomXMLPart. SelectSingleNode method in that the XPath expression will be evaluated starting with the 'expression' node as the context node.
© 2018 Microsoft