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
'Declaration
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
- value
Type: System.String
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.