dotConnect for DB2 Documentation
Devart.Data.DB2.DB2Types Namespace / DB2Int32 Structure / CompareTo Method / CompareTo(Object) Method
The object to compare the current DB2Int32 object with.

In This Topic
CompareTo(Object) Method
In This Topic
Compares the current DB2Int32 object to the specified object and returns an integer that represents their relative values.
Syntax
'Declaration
 
Public Overloads Function CompareTo( _
   ByVal value As Object _
) As Integer
 

Parameters

value
The object to compare the current DB2Int32 object with.

Return Value

A signed number indicating the relative values of the current DB2Int32 structure and the object.
Return Value Condition
Less than zero The value of the current DB2Int32 object is less than the object.
Zero The current DB2Int32 object is the same to the object.
Greater than zero The current DB2Int32 object is greater than the object.
See Also