This documentation is archived and is not being maintained.
SortFieldList::Insert Method (Int32, SortField)
Visual Studio 2013
Inserts the specified SortField instance into this list at the specified index.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Parameters
- index
- Type: System::Int32
The index at which to insert the specified SortField.
- sortField
- Type: Microsoft.TeamFoundation.WorkItemTracking.Client::SortField
The SortField instance to insert into this list.
| Exception | Condition |
|---|---|
| ArgumentNullException | The sortField parameter is null. |
| ArgumentOutOfRangeException | The specified index is out of range. |
| ArgumentException | The specified SortField already occurs in this list. |
| FieldDefinitionNotExistException | The name parameter does not resolve to an existing FieldDefinition. |
- 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: