Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NNode Class / GetLastAncestor Method / GetLastAncestor(Type) Method


In This Topic
    GetLastAncestor(Type) Method
    In This Topic
    Returns the last node ancestor of the given type or null if an ancestor of the given type is not found.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetLastAncestor( _
       ByVal type As System.Type _
    ) As NNode
    'Usage
     
    
    Dim instance As NNode
    Dim type As System.Type
    Dim value As NNode
     
    value = instance.GetLastAncestor(type)
    public NNode GetLastAncestor( 
       System.Type type
    )

    Parameters

    type
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also