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

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

Parameters

value
A PgSqlInet value to compare with.

Return Value

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