Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NNode Class / GetFirstDescendant Method / GetFirstDescendant<TNode>() Method
The node type to search for.

In This Topic
    GetFirstDescendant<TNode>() Method
    In This Topic
    Gets the first descendant node of the given type. This method visits descendants in Depth-First Pre-Order. Children are enumerated in forward order (from first to last).
    Public Overloads Function GetFirstDescendant(Of TNode As NNode)() As TNode
    Dim instance As NNode
    Dim value As TNode
    value = instance.GetFirstDescendant(Of TNode)()
    public TNode GetFirstDescendant<TNode>()
    where TNode: NNode

    Type Parameters

    The node type to search for.

    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