SftTree/OCX 7.0

SftTree.LastDependent Property

Softel vdm, Inc.

Returns the index of an item's last dependent.

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

Syntax       

Get

VB.NET

DependentIndex = object.get_LastDependent(ByVal ItemIndex As Integer)  As Integer
DependentIndex = object.LastDependent(ByVal ItemIndex As Integer)  As Integer  Note

VB

DependentIndex = object.LastDependent(ByVal ItemIndex As Long)  As Long

C#.NET

int DependentIndex = object.get_LastDependent(int ItemIndex);

VC++

long DependentIndex = object->LastDependent[long ItemIndex];
long DependentIndex = object->GetLastDependent(long ItemIndex);

C

HRESULT object->get_LastDependent(long ItemIndex, long* DependentIndex);

Delphi

DependentIndex := object.LastDependent[ItemIndex : Integer]   : Integer;

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


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com