Export (0) Print
Expand All

SortField Class

Represents a WorkItemField that can be used to sort the results of a query.


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

public sealed class SortField

The SortField type exposes the following members.

Public methodSortField(FieldDefinition, SortType)Initializes a new SortField instance.
Public methodSortField(WorkItemStore, String, SortType)Initializes a new SortField instance.

Public propertyFieldDefinitionGets the FieldDefinition of this field.
Public propertySortTypeGets the order by which this field is sorted.

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

The results of a query are represented by the WorkItemCollection class. The SortField represents the fields that may be used to sort the contents of a WorkItemCollection.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2014 Microsoft