Kommentar
Å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.
Initializes a new SortField instance.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Sub New ( _
fd As FieldDefinition, _
sortType As SortType _
)
public SortField(
FieldDefinition fd,
SortType sortType
)
public:
SortField(
FieldDefinition^ fd,
SortType sortType
)
new :
fd:FieldDefinition *
sortType:SortType -> SortField
public function SortField(
fd : FieldDefinition,
sortType : SortType
)
Parameters
fd
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.FieldDefinitionThe FieldDefinition that defines this field.
sortType
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.SortTypeThe direction by which this field is sorted.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | One or more of the parameters is null. |
| ArgumentException | The sortType parameter is not valid. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.