Nevron .NET Vision Documentation
IsDescendant Method (NAggregateModel)


node to look for
reqired depth, or -1 if the entire subtree must be explored
Queries whether the specified node is a descendant of this node
Syntax
'Declaration
 
Public Overridable Function IsDescendant( _
   ByVal node As INNode, _
   ByVal depth As System.Integer _
) As System.Boolean
'Usage
 
Dim instance As NAggregateModel
Dim node As INNode
Dim depth As System.Integer
Dim value As System.Boolean
 
value = instance.IsDescendant(node, depth)
public virtual 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

Reference

NAggregateModel Class
NAggregateModel Members

Send Feedback