This documentation is archived and is not being maintained.

FieldCollection::IndexOf Method

Gets the index of the specified Field.

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

public:
int IndexOf(
	Field^ value
)

Parameters

value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client::Field

The Field for which the index is desired.

Return Value

Type: System::Int32
The index of the specified Field or -1 if it is not found in this collection.

Show: