Click or drag to resize
SortSpecification Class
Encapsulates a set of criteria used for sorting translation units.

The order in which the different criteria are added to a sort specification is essential. Only if two translation units are equivalent according to a sort criterium, the next relevant criterium will be considered in order to decide which of the translation units comes first and so on.

The sort specification consists of a collection of SortCriterium objects which in turn may refer to system fields or filter names, and include a specification whether to sort ascending or descending. Typical examples are:

Examples
Sco/D UsD/D
which sorts descending by score and descending by last usage date.

Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.TranslationMemorySortSpecification

Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntax
public class SortSpecification

The SortSpecification type exposes the following members.

Constructors
  NameDescription
Public methodSortSpecification
Initializes a new instance with default values.
Public methodSortSpecification(String)
Initializes a new instance of the SortSpecification class from a string.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of criteria in this sort specification.
Public propertyCriteria
Gets or sets the list of sort criteria.
Public propertyItem
Gets or sets the criterium at the specified index in the list.
Top
Methods
  NameDescription
Public methodAdd
Adds a new sort criterium to the list.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments