This documentation is archived and is not being maintained.

FieldDefinitionCollection::IndexOf Method

Gets the index of the specified FieldDefinition object in this collection.

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

public:
int IndexOf(
	FieldDefinition^ fieldDefinition
)

Parameters

fieldDefinition
Type: Microsoft.TeamFoundation.WorkItemTracking.Client::FieldDefinition

The FieldDefinition object for which the index is desired.

Return Value

Type: System::Int32
The index of the specified FieldDefinition object.

Show: