Nevron .NET Vision
Nevron.UI Namespace / NUIElementContainer Class / IsDescendant Method
node to look for
reqired depth, or -1 if the entire subtree must be explored


In This Topic
    IsDescendant Method (NUIElementContainer)
    In This Topic
    Queries whether the specified node is a descendant of this node
    Syntax
    'Declaration
     
    
    Public Function IsDescendant( _
       ByVal node As INNode, _
       ByVal depth As System.Integer _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NUIElementContainer
    Dim node As INNode
    Dim depth As System.Integer
    Dim value As System.Boolean
     
    value = instance.IsDescendant(node, depth)
    public System.bool IsDescendant( 
       INNode node,
       System.int depth
    )

    Parameters

    node
    node to look for
    depth
    reqired depth, or -1 if the entire subtree must be explored

    Return Value

    true if the node is a descendant node, otherwise false
    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