SortField Class
Represents a WorkItem Field 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
'Déclaration
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.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (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.