WinStudio

TreeNodeToXmlAt Method

Applies To

IWSFormComponent interface, tree objects

Definition

Returns an XML document string representing a specific tree node.

Syntax

object.TreeNodeToXmlAt( string )

  Part

  Description

object Required. A reference to a valid tree component object.
string Required. The tree node ID (GUID) or node index series.

Remarks

For more information, see Notes on the Tree Node ID (GUID) and Index Series.

Example

Dim treeNodeXml As String = String.Empty
treeNodeXml = ThisForm.Components("tree1").TreeNodeToXmlAt("guidTreeNodeID")
treeNodeXml = ThisForm.Components("tree1").TreeNodeToXmlAt("2,0")