TreeView.InsertItem Method (Typed) | |
Insert a new tree view item as a child of a specified item and after a specified item in the tree view.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD InsertItem(
symParentName AS SYMBOL,
symInsertAfter AS SYMBOL,
oTreeViewItem AS TreeViewItem
) AS LOGIC
public virtual bool InsertItem(
Symbol symParentName,
Symbol symInsertAfter,
TreeViewItem oTreeViewItem
)
Request Example
View SourceParameters
- symParentName
- Type: Symbol
The symbolic name of the parent tree view item of the new 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. - symInsertAfter
- Type: Symbol
The symbolic name of the tree view item after which the new item should be inserted. 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 insert.
Return Value
Type:
Logic
TRUE if the item was inserted successfully; otherwise, FALSE.
See Also