Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

DependentCount Property, SftTree Object

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.NETCount = object.get_DependentCount(ByVal ItemIndex As Integer, ByVal DependentType As Short) As Integer
VBCount = object.DependentCount(ByVal ItemIndex As Long, ByVal DependentType As Integer) As Long
C#.NETint 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);
CHRESULT object->get_DependentCount(long ItemIndex, short DependentType, long* Count);

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.

DependentTypeDescription
0Only include immediate dependents in the count returned.
1Include 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


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


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.