Compares this instance with a specified Key object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified Key.

Namespace: Hypertable
Assembly: ht4n (in ht4n.dll) Version: 0.9.8.11 (0.9.8.11)

Syntax

         
 C#  Visual Basic  Visual C++ 
public int CompareTo(
	Key other
)
Public Function CompareTo ( _
	other As Key _
) As Integer
public:
virtual int CompareTo(
	Key^ other
) sealed

Parameters

other
Key
Key to compare, or null.

Return Value

Signed integer that indicates the relationship between the comparand and this instance:
< 0if this instance precedes other.
= 0if this instance equals other.
> 0if this instance follows other.

Implements

IComparable<(Of <(<'T>)>)>..::..CompareTo(T)

See Also