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