Click or drag to resize
IFieldValueComparerTCompare Method
Compares two objects' specified field values and returns an indication of their relative values.

Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntax
int Compare(
	T a,
	T b,
	string fieldName
)

Parameters

a
Type: T
The first of the two items to compare.
b
Type: T
The second of the two items to compare.
fieldName
Type: SystemString
The field used for comparison.

Return Value

Type: Int32
Less than zero if a is less than b, zero if a equals b or a value greater than zero if a is greater than b.
See Also
Community
Edit

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