Click or drag to resize
SegmentRangeCompare Method
Compares two segment ranges and returns a value indicating their order.

Namespace: Sdl.LanguagePlatform.Core
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public static int Compare(
	SegmentRange a,
	SegmentRange b
)

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: Int32
An 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
Community
Edit

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