Class SortedField
- Namespace
- DocuWare.Platform.ServerClient
- Assembly
- DocuWare.Platform.ServerClient.dll
Defines a sort by a field.
public class SortedField
- Inheritance
-
SortedField
- Inherited Members
Constructors
SortedField()
Creates a new instance of this class
public SortedField()
Properties
Direction
A sort direction
public SortDirection Direction { get; set; }
Property Value
| Type | Description |
|---|---|
| SortDirection |
Field
Field name
public string Field { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Create(string, SortDirection)
Creates a sort order for the specified field.
public static SortedField Create(string fieldName, SortDirection direction = SortDirection.Asc)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fieldName | Name of the field. |
| SortDirection | direction | The direction. |
Returns
| Type | Description |
|---|---|
| SortedField | The sort order |