Partilhar via


NodeCollection.IndexOf Method

Gets the index of the specified Node in this collection.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    value As Node _
) As Integer
public int IndexOf(
    Node value
)
public:
int IndexOf(
    Node^ value
)
member IndexOf : 
        value:Node -> int
public function IndexOf(
    value : Node
) : int

Parameters

Return Value

Type: System.Int32
The index of the specified Node in this collection. Returns -1 if the node is not found.

.NET Framework Security

See Also

Reference

NodeCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace