Bridge

Int64..::..CompareTo Method (Object)

Compares this instance to a specified object and returns an indication of their relative values.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


public int CompareTo(
	Object obj
)
Public Function CompareTo ( _
	obj As Object _
) As Integer
public:
int^ CompareTo(
	Object^ obj
)

Parameters

obj
Type: System..::..Object

Return Value

A signed number indicating the relative values of this instance and value.Return Value Description Less than zero This instance is less than value. Zero This instance is equal to value. Greater than zero This instance is greater than value.-or- value is null.

Exceptions


ExceptionCondition
System..::..ArgumentExceptionvalue is not an Int64.