| SegmentRangeCompare Method |
Compares two segment ranges and returns a value indicating their order.
Namespace: Sdl.LanguagePlatform.CoreAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic static int Compare(
SegmentRange a,
SegmentRange b
)
Public Shared Function Compare (
a As SegmentRange,
b As SegmentRange
) As Integer
public:
static int Compare(
SegmentRange^ a,
SegmentRange^ b
)
static member Compare :
a : SegmentRange *
b : SegmentRange -> int
Parameters
- a
- Type: Sdl.LanguagePlatform.CoreSegmentRange
The first of the two items to compare. - b
- Type: Sdl.LanguagePlatform.CoreSegmentRange
The second of the two items to compare.
Return Value
Type:
Int32An integer value less than zero if a precedes b, zero if a and b are in the same range,
and a value greater than zero if a follows b. Only the start positions are compared.
See Also
Comments