IndexedItemTCompareTo Method (Object) |
Compares Index property of this instance with the Index property of specified IndexedItem
and returns an indication of their relative values.
Parameter obj must be of IndexedItem, else an ArgumentException will occur.
Namespace: BioAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public int CompareTo(
Object obj
)
Public Function CompareTo (
obj As Object
) As Integer
public:
virtual int CompareTo(
Object^ obj
) sealed
abstract CompareTo :
obj : Object -> int
override CompareTo :
obj : Object -> int
Parameters
- obj
- Type: SystemObject
IndexedItem instance to compare.
Return Value
Type:
Int32
A signed number indicating the relative values of index property of this instance and the
index property of specified IndexedItem.
Return Value Description:
Less than zero index of this instance is less than the index of specified IndexedItem.
Zero index of this instance is equal to the index of specified IndexedItem.
Greater than zero index of this instance is greater than the index of specified IndexedItem
or specified IndexedItem is null.
Implements
IComparableCompareTo(Object)See Also