Nevron .NET Vision
Nevron.Diagram Namespace / NDiagramElementCollection Class / DescendantsCount Method
filter to use, or null if no filter should be applied
reqired depth, or -1 if the entire subtree must be explored


In This Topic
    DescendantsCount Method (NDiagramElementCollection)
    In This Topic
    Returns the number of descendant nodes, which satisfy the specified filter
    Syntax
    'Declaration
     
    
    Public Overridable Function DescendantsCount( _
       ByVal filter As INFilter, _
       ByVal depth As System.Integer _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NDiagramElementCollection
    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 filter,
       System.int depth
    )

    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
    Requirements

    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

    See Also