Table of Contents

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

TypeDescription
SortDirection

Field

Field name

public string Field { get; set; }

Property Value

TypeDescription
string

Methods

Create(string, SortDirection)

Creates a sort order for the specified field.

public static SortedField Create(string fieldName, SortDirection direction = SortDirection.Asc)

Parameters

TypeNameDescription
stringfieldName

Name of the field.

SortDirectiondirection

The direction.

Returns

TypeDescription
SortedField

The sort order