Click or drag to resize
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: Bio
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public int CompareTo(
	Object obj
)

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