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 |
---|---|
Sort |
Field
Field name
Declaration
public string Field { get; set; }
Property Value
Type | Description |
---|---|
System. |
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. |
fieldName | Name of the field. |
Sort |
direction | The direction. |
Returns
Type | Description |
---|---|
Sorted |
The sort order |