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)

Syntax

'Declaration
Public Sub New ( _
    fd As FieldDefinition, _
    sortType As SortType _
)
public SortField(
    FieldDefinition fd,
    SortType sortType
)
public:
SortField(
    FieldDefinition^ fd, 
    SortType sortType
)
new : 
        fd:FieldDefinition * 
        sortType:SortType -> SortField
public function SortField(
    fd : FieldDefinition, 
    sortType : SortType
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

One or more of the parameters is null.

ArgumentException

The sortType parameter is not valid.

.NET Framework Security

See Also

Reference

SortField Class

SortField Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace