Class SortCriterium
Encapsulates a sort criterium.
Inheritance
System.Object
SortCriterium
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.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 |
---|---|---|
System.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 |
---|---|
System.String |