dotConnect for SQLite Documentation
Devart.Data.SQLite Namespace / SQLiteDateTime Structure / CompareTo Method / CompareTo(SQLiteDateTime) Method
A SQLiteDateTime value to compare with.

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

Parameters

value
A SQLiteDateTime value to compare with.

Return Value

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

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

See Also