Nevron .NET Vision Documentation
GetDescendantFromId Method (NAggregateModel)


id of the element
required depth, or -1 if the entire subtree must be explored
Obtains a element node by its id
Syntax
'Declaration
 
Public Overridable Function GetDescendantFromId( _
   ByVal id As System.Integer, _
   ByVal depth As System.Integer _
) As INElement
'Usage
 
Dim instance As NAggregateModel
Dim id As System.Integer
Dim depth As System.Integer
Dim value As INElement
 
value = instance.GetDescendantFromId(id, depth)
public virtual INElement GetDescendantFromId( 
   System.int id,
   System.int depth
)

Parameters

id
id of the element
depth
required depth, or -1 if the entire subtree must be explored

Return Value

reference to the element if it was found, otherwise null
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