StringSegment.Compare method

Compares two string segments.

public static int Compare(StringSegment segmentA, StringSegment segmentB, 
    StringComparison comparison)
parameter description
segmentA The first segment.
segmentB The second segment.
comparison The string comparison options.

Return Value

Zero, a positive integer, or a negative integer, if the first segment is equal to, greater than, or less than the second segment, respectively.

See Also