TreeView.DeleteItem Method (TreeViewItem, Logic) | |
Delete a tree view item.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD DeleteItem(
oItem AS TreeViewItem,
lChildrenOnly AS LOGIC
) AS LOGIC
public virtual bool DeleteItem(
TreeViewItem oItem,
bool lChildrenOnly
)
Request Example
View SourceParameters
- oItem
- Type: TreeViewItem
The TreeViewItem object representing the tree view item to be deleted. - lChildrenOnly
- Type: Logic
New logic parameter which defaults to FALSE.
If lChildrenOnly is TRUE only the child items are deleted
Return Value
Type:
Logic
TRUE if successful; otherwise, FALSE.
See Also