|
|
|
SftTreeItem.Parent Property |
Returns the item's parent item.
Syntax
VB.NET |
ItemIndex = object.Parent As Integer |
||
VB |
ItemIndex = object.Parent As Long |
||
C#.NET |
int ItemIndex = object.Parent; |
||
VC++ |
long ItemIndex = object->Parent;
|
||
C |
HRESULT object->get_Parent(long* ItemIndex); |
||
Delphi |
ItemIndex := object.Parent : Integer; |
object
A SftTreeItem object.
ItemIndex
Returns the item's parent item. If the item doesn't have a parent, -1 is returned.
Comments
The Parent property returns the item's parent item.
To find an item's top-most parent, use the Item.TopParent property instead.
See Also SftTreeItem Object | Object Hierarchy