IndexedItemTCompareTo Method (IndexedItemT) |
Compares Index property of this instance with the Index property of specified IndexedItem
and returns an indication of their relative values.
Namespace: BioAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public int CompareTo(
IndexedItem<T> other
)
Public Function CompareTo (
other As IndexedItem(Of T)
) As Integer
public:
virtual int CompareTo(
IndexedItem<T>^ other
) sealed
abstract CompareTo :
other : IndexedItem<'T> -> int
override CompareTo :
other : IndexedItem<'T> -> int
Parameters
- other
- Type: BioIndexedItemT
IndexedItem to compare.
Return Value
Type:
Int32
A signed number indicating the relative values of index property of this instance and the
index property of other.
Return value Description:
Less than zero index of this instance is less than the index of other.
Zero index of this instance is equal to the index of other.
Greater than zero index of this instance is greater than the index of other
or other is null.
Implements
IComparableTCompareTo(T)See Also