Share via


SelectedNodeCollection.IndexOf Method (Node)

 

Determines the index of a specified node in the collection.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

public int IndexOf(
    Node node
)
public:
int IndexOf(
    Node^ node
)
member IndexOf : 
        node:Node -> int
Public Function IndexOf (
    node As Node
) As Integer

Parameters

Return Value

Type: System.Int32

Index of the node if the node is found in the list; otherwise -1.

See Also

SelectedNodeCollection Class
Microsoft.ManagementConsole Namespace

Return to top