This documentation is archived and is not being maintained.
SortFieldList::Add Method (SortField)
Visual Studio 2013
Adds the specified SortField instance to this list.
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 instance to add to this list.
Return Value
Type: System::Int32The index of the newly added SortField or the index of an existing SortField that has the same field ID.
| 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: