This documentation is archived and is not being maintained.
DisplayFieldList::IndexOf Method
Visual Studio 2013
Gets the index of the specified FieldDefinition.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Parameters
- value
- Type: Microsoft.TeamFoundation.WorkItemTracking.Client::FieldDefinition
The FieldDefinition for which the index is desired.
Return Value
Type: System::Int32The index of the specified FieldDefinition. If the field is not in the list, returns -1.
| Exception | Condition |
|---|---|
| ArgumentNullException | The value argument is null. |
- 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.
Show: