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


In This Topic
    GetDescendantFromUniqueId Method (NChartElementContainer)
    In This Topic
    Obtains a child element by its unique id
    Syntax
    'Declaration
     
    
    Public Function GetDescendantFromUniqueId( _
       ByVal uid As System.Guid, _
       ByVal depth As System.Integer _
    ) As INElement
    'Usage
     
    
    Dim instance As NChartElementContainer
    Dim uid As System.Guid
    Dim depth As System.Integer
    Dim value As INElement
     
    value = instance.GetDescendantFromUniqueId(uid, depth)
    public INElement GetDescendantFromUniqueId( 
       System.Guid uid,
       System.int depth
    )

    Parameters

    uid
    unique id of the node
    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