Compartir a través de


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

'Declaración
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
Public method SortField(FieldDefinition, SortType) Initializes a new SortField instance.
Public method SortField(WorkItemStore, String, SortType) Initializes a new SortField instance.

Top

Properties

  Name Description
Public property FieldDefinition Gets the FieldDefinition of this field.
Public property SortType Gets the order by which this field is sorted.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace