共用方式為


FieldDefinition.CanSortBy Property

Gets the flag that describes whether WorkItems can be sorted by Fields that use this field definition.

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

Syntax

'Declaration
Public ReadOnly Property CanSortBy As Boolean
public bool CanSortBy { get; }
public:
property bool CanSortBy {
    bool get ();
}
member CanSortBy : bool with get
function get CanSortBy () : boolean

Property Value

Type: System.Boolean
True if Fields that use this field definition can be used to sort WorkItems; otherwise, false.

.NET Framework Security

See Also

Reference

FieldDefinition Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace