| GenSortRecordComparePartialKeys Method |
Compares two specified partial keys and returns an integer that indicates their relationship to one another in the sort order.
Namespace:
Ookii.Jumbo.Jet.Samples.IO
Assembly:
Ookii.Jumbo.Jet.Samples (in Ookii.Jumbo.Jet.Samples.dll) Version: 2.0.0
Syntax public static int ComparePartialKeys(
byte[] left,
byte[] right
)
Public Shared Function ComparePartialKeys (
left As Byte(),
right As Byte()
) As Integer
public:
static int ComparePartialKeys(
array<unsigned char>^ left,
array<unsigned char>^ right
)
static member ComparePartialKeys :
left : byte[] *
right : byte[] -> int
Parameters
- left
- Type: SystemByte
The first key. The array must contain only the key, and no further data. - right
- Type: SystemByte
The second key. The array must contain only the key, and no further data.
Return Value
Type:
Int32Zero if the keys are identical; less than zero if
left is less than
right;
greater than zero if
left is greater than
right.
See Also