Edit

Share via


CustomXMLNode.AppendChildSubtree(String) Method

Definition

Adds a subtree as the last child under the context element node in the tree.

public:
 void AppendChildSubtree(System::String ^ XML);
public void AppendChildSubtree (string XML);
abstract member AppendChildSubtree : string -> unit
Public Sub AppendChildSubtree (XML As String)

Parameters

XML
String

Represents 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.

Applies to