Click or drag to resize
SegmentPositionCompare Method
Compares two segment positions and returns an indication of their sort 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(
	SegmentPosition a,
	SegmentPosition b
)

Parameters

a
Type: Sdl.LanguagePlatform.CoreSegmentPosition
The first of the two items to compare.
b
Type: Sdl.LanguagePlatform.CoreSegmentPosition
The second of the two items to compare.

Return Value

Type: Int32
An int value less than zero if a precedes b, zero if a denotes the same position as b, and greater than zero if a follows b.
See Also
Community
Edit

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