Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a WorkItemField that can be used to sort the results of a query.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.SortField
Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public NotInheritable Class SortField
public sealed class SortField
public ref class SortField sealed
[<Sealed>]
type SortField =  class end
public final class SortField
The SortField type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]()  | 
SortField(FieldDefinition, SortType) | Initializes a new SortField instance. | 
![]()  | 
SortField(WorkItemStore, String, SortType) | Initializes a new SortField instance. | 
Top
Properties
| Name | Description | |
|---|---|---|
![]()  | 
FieldDefinition | Gets the FieldDefinition of this field. | 
![]()  | 
SortType | Gets the order by which this field is sorted. | 
Top
Methods
| Name | Description | |
|---|---|---|
![]()  | 
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
![]()  | 
GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
![]()  | 
GetType | Gets the Type of the current instance. (Inherited from Object.) | 
![]()  | 
ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)