This documentation is archived and is not being maintained.
SortFieldList::IndexOf Method
Visual Studio 2013
Gets the index, in this list, of the specified SortField instance.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Parameters
- sortField
- Type: Microsoft.TeamFoundation.WorkItemTracking.Client::SortField
The SortField of which the index is desired.
| Exception | Condition |
|---|---|
| ArgumentNullException | The sortField parameter 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: