|
|
|
SftTree.ItemID Property |
Returns the item ID of an item.
Deprecated - Provided for compatibility with earlier versions only - Use Item.ID instead
Syntax
VB.NET |
ID = object.get_ItemID(ByVal ItemIndex As Integer) As Integer |
||
VB |
ID = object.ItemID(ByVal ItemIndex As Long) As Long |
||
C#.NET |
int ID = object.get_ItemID(int ItemIndex); |
||
VC++ |
long ID = object->ItemID[long ItemIndex];
|
||
C |
HRESULT object->get_ItemID(long ItemIndex, long* ID); |
||
Delphi |
ID := object.ItemID[ItemIndex : Integer] : Integer; |
object
A SftTree object.
ItemIndex
The zero-based index of the item whose item ID is to be returned.
ID
Returns the item ID of the item.
Comments
Deprecated - Provided for compatibility with earlier versions only - Use Item.ID instead
The ItemID property returns the item ID of an item.
The item ID returned by the ItemID property does not change throughout the lifetime of an item. Even if an item changes its index position because other items are deleted or inserted, the item ID remains constant. The item index describes the zero-based position of an item in a tree control.
An item ID can be translated into an item index using the Items.ItemIndex property.
See Also SftTree Object | Object Hierarchy