Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

LastDependent Property, SftTree Object

Returns the index of an item's last dependent.

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

Syntax

Get

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

object

A SftTree object.

ItemIndex

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

DependentIndex

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

Comments

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

The LastDependent property returns the index of an item's last dependent.

The Item.FirstDependent property can be used to retrieve an item's first dependent.

See Also SftTree Object | Object Hierarchy


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