Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

FirstDependent Property, SftTree Object

Returns the index of an item's first dependent.

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

Syntax

Get

VB.NETDependentIndex = object.get_FirstDependent(ByVal ItemIndex As Integer) As Integer
VBDependentIndex = object.FirstDependent(ByVal ItemIndex As Long) As Long
C#.NETint DependentIndex = object.get_FirstDependent(int ItemIndex);
VC++long DependentIndex = object->FirstDependent[long ItemIndex];
long DependentIndex = object->GetFirstDependent(long ItemIndex);
CHRESULT object->get_FirstDependent(long ItemIndex, long* DependentIndex);

object

A SftTree object.

ItemIndex

The zero-based index of the item whose first dependent item is to be returned.

DependentIndex

Returns the index of the item's first dependent. If the item doesn't have a dependent, -1 is returned.

Comments

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

The FirstDependent property returns the index of an item's first dependent.

The Item.LastDependent property can be used to retrieve an item's last dependent.

See Also SftTree Object | Object Hierarchy


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