SftTree/OCX 7.0

SftTree.DependentCount Property

Softel vdm, Inc.

Returns an item's number of dependents.

Deprecated - Provided for compatibility with earlier versions only - Use Item.DependentCount and Item.DependentAllCount instead

Syntax       

Get

VB.NET

Count = object.get_DependentCount(ByVal ItemIndex As Integer, ByVal DependentType As Short)  As Integer

VB

Count = object.DependentCount(ByVal ItemIndex As Long, ByVal DependentType As Integer)  As Long

C#.NET

int Count = object.get_DependentCount(int ItemIndex, short DependentType);

VC++

long Count = object->DependentCount[long ItemIndex][short DependentType];
long Count = object->GetDependentCount(long ItemIndex, short DependentType);

C

HRESULT object->get_DependentCount(long ItemIndex, short DependentType, long* Count);

Delphi

Count := object.DependentCount[ItemIndex : Integer; DependentType : Smallint]   : Integer;

object

A SftTree object.

ItemIndex

The zero-based index of the item whose number of dependents is to be returned.

DependentType

Determines the depth of the dependents included in the count returned.

DependentType

Description

0

Only include immediate dependents in the count returned.

1

Include immediate and indirect dependents in the count returned.

Count

Returns an item's number of dependents.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Item.DependentCount and Item.DependentAllCount instead

The DependentCount property returns an item's number of dependents.

See Also  SftTree Object | Object Hierarchy


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