Compartilhar via


ValuesCollection.IndexOf Method

Gets the index of the specified value in this collection.

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

Syntax

'Declaração
Public Function IndexOf ( _
    value As String _
) As Integer
public int IndexOf(
    string value
)
public:
int IndexOf(
    String^ value
)
member IndexOf : 
        value:string -> int 
public function IndexOf(
    value : String
) : int

Parameters

Return Value

Type: System.Int32
The index of the specified value. Returns -1 if the value does not exist in this collection.

.NET Framework Security

See Also

Reference

ValuesCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace