Class SortCriterium
Encapsulates a sort criterium.
Inheritance
Object
SortCriterium
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
public class SortCriterium
Constructors
SortCriterium()
Initializes a new instance with default values.
Declaration
public SortCriterium()
SortCriterium(String, SortDirection)
Initializes a new instance of the SortCriterium class with the specified field name and sort direction.
Declaration
public SortCriterium(string fieldName, SortDirection dir)
Parameters
Type | Name | Description |
---|---|---|
String | fieldName | The field name considered for sorting. |
SortDirection | dir | The sort direction. |
Properties
Direction
Gets or sets the sort direction.
Declaration
public SortDirection Direction { get; set; }
Property Value
Type | Description |
---|---|
SortDirection |
FieldName
Gets or sets the field name considered for sorting.
Declaration
public string FieldName { get; set; }
Property Value
Type | Description |
---|---|
String |