Class SortedField
Defines a sort by a field.
Inheritance
System.Object
SortedField
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient.dll
Syntax
public class SortedField
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 |