CustomXMLNode.AppendChildSubtree Method
Adds a subtree as the last child under the context element node in the tree.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Sub AppendChildSubtree ( _
XML As String _
)
'Usage
Dim instance As CustomXMLNode
Dim XML As String
instance.AppendChildSubtree(XML)
void AppendChildSubtree(
string XML
)
Parameters
XML
Type: System.StringRepresents the subtree to add.
Remarks
If the context node is any type other than msoCustomXMLNodeElement, the append operation is not performed and an error message is displayed. If the CustomXMLNode is being validated against a schema and if the operation would result in an invalid tree structure, the append operation is not performed and an error message is displayed.