Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NNode Class / IndexOfChild Method
child node to locate


In This Topic
    IndexOfChild Method (NNode)
    In This Topic
    Gets the index of the specified child node in this node children container. Returns -1 if the node is not a child of this node.
    Syntax
    'Declaration
     
    
    Public Function IndexOfChild( _
       ByVal node As NNode _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NNode
    Dim node As NNode
    Dim value As System.Integer
     
    value = instance.IndexOfChild(node)
    public System.int IndexOfChild( 
       NNode node
    )

    Parameters

    node
    child node to locate

    Return Value

    index of the child node, or -1 if the node is not a child of this node
    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