Share via


ResultNodeCollection.IndexOf Method (ResultNode)

 

Determines the index of a specific ResultNode object in the collection.

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

Syntax

public int IndexOf(
    ResultNode item
)
public:
int IndexOf(
    ResultNode^ item
)
member IndexOf : 
        item:ResultNode -> int
Public Function IndexOf (
    item As ResultNode
) As Integer

Parameters

Return Value

Type: System.Int32

If the result node is in the collection, this value is its index; otherwise, this value is -1.

See Also

ResultNodeCollection Class
Microsoft.ManagementConsole Namespace

Return to top