Compares the current
DB2TimeStamp object to the specified object and returns an integer that represents their relative values.
'Declaration
Public Overloads Function CompareTo( _
ByVal As Object _
) As Integer
public int CompareTo(
object
)
Parameters
- value
- The object to compare the current DB2TimeStamp object to.
Return Value
A signed number indicating the relative values of the current
DB2TimeStamp structure and the object.
Return Value |
Condition |
Less than zero |
The value of the current DB2TimeStamp object is less than the object. |
Zero |
The current DB2TimeStamp object is the same to the object. |
Greater than zero |
The current DB2TimeStamp object is greater than the object. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2