DescendantsCount Method (NDocument)
'Declaration
Public Overridable Function DescendantsCount( _
ByVal As INFilter, _
ByVal As System.Integer _
) As System.Integer
'Usage
Dim instance As NDocument
Dim filter As INFilter
Dim depth As System.Integer
Dim value As System.Integer
value = instance.DescendantsCount(filter, depth)
public virtual System.int DescendantsCount(
INFilter ,
System.int
)
Parameters
- filter
- filter to use, or null if no filter should be applied
- depth
- reqired depth, or -1 if the entire subtree must be explored
Return Value
count of descendants, which satisfy the filter
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2