Click or drag to resize

TreeView.AddItem Method (Typed)

X#
Add a new tree view item as the last child item of a specified parent.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD AddItem(
	symParentName AS SYMBOL,
	oTreeViewItem AS TreeViewItem
) AS USUAL
Request Example View Source

Parameters

symParentName
Type: Symbol
The symbolic name of the parent tree view item. This can be the symbolic name of any tree view item or one of the following items: #Root, #First, #Last, and, if the tree view style is sorted, #Sort.
oTreeViewItem
Type: TreeViewItem
The tree view item to add.

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE.
See Also