Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ItemID Property, SftTree Object

Returns the item ID of an item.

Deprecated - Provided for compatibility with earlier versions only - Use Item.ID instead

Syntax

Get

VB.NETID = object.get_ItemID(ByVal ItemIndex As Integer) As Integer
VBID = object.ItemID(ByVal ItemIndex As Long) As Long
C#.NETint ID = object.get_ItemID(int ItemIndex);
VC++long ID = object->ItemID[long ItemIndex];
long ID = object->GetItemID(long ItemIndex);
CHRESULT object->get_ItemID(long ItemIndex, long* ID);

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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.