Nevron .NET Vision
Nevron.Chart Namespace / NChartElementContainer Class / GetDescendantFromId Method
id of the element
required depth, or -1 if the entire subtree must be explored


In This Topic
    GetDescendantFromId Method (NChartElementContainer)
    In This Topic
    Obtains a element node by its id
    Syntax
    'Declaration
     
    
    Public Function GetDescendantFromId( _
       ByVal id As System.Integer, _
       ByVal depth As System.Integer _
    ) As INElement
    'Usage
     
    
    Dim instance As NChartElementContainer
    Dim id As System.Integer
    Dim depth As System.Integer
    Dim value As INElement
     
    value = instance.GetDescendantFromId(id, depth)
    public 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