IndexOfChild Method (NNode)
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.
'Declaration
Public Function IndexOfChild( _
ByVal 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
)
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
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)