dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlTimeStamp Structure / CompareTo Method / CompareTo(PgSqlTimeStamp) Method
A PgSqlTimeStamp value to compare with.

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

Parameters

value
A PgSqlTimeStamp value to compare with.

Return Value

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