|
|
|
SftBoxItem.DependentCount Property |
Returns the item's number of dependents (child items).
Syntax
VB.NET |
Count = object.DependentCount(ByVal Depth As Boolean) As Integer |
||
VB |
Count = object.DependentCount(ByVal Depth As Boolean) As Long |
||
C#.NET |
int Count = object.get_DependentCount(bool Depth); |
||
VC++ |
long Count = object->DependentCount[VARIANT_BOOL Depth];
|
||
C |
HRESULT object->get_DependentCount(VARIANT_BOOL Depth, long* Count); |
||
Delphi |
Count := object.DependentCount[Depth : WordBool] : Integer; |
object
A SftBoxItem object.
Depth
Determines the depth.
Boolean |
Description |
True |
A count of all child items is returned, both immediate child items (on the next lower level) and indirect child items (child items of child items). |
False |
A count of immediate child items is returned (on the next lower level). Indirect child items are not counted. |
Count
Returns the item's number of dependents (child items).
Comments
The DependentCount property returns the item's number of dependents (child items).
The Item.FirstDependent property can be used to find the index of the first child item. Item.LastDependent returns the last child item.
Also see Item.FirstSibling, Item.NextSibling, Item.PrevSibling, Item.LastSibling.