This documentation is archived and is not being maintained.

SortField Constructor (FieldDefinition, SortType)

Initializes a new SortField instance.

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

public:
SortField(
	FieldDefinition^ fd, 
	SortType sortType
)

Parameters

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

The FieldDefinition that defines this field.

sortType
Type: Microsoft.TeamFoundation.WorkItemTracking.Client::SortType

The direction by which this field is sorted.

ExceptionCondition
ArgumentNullException

One or more of the parameters is null.

ArgumentException

The sortType parameter is not valid.

Show: