SqlCeVersion.CompareTo Method (SqlCeVersion)
Indicates the comparison of the current SqlCeVersion object to a specified SqlCeVersion and returns an indication of their relative values.
Namespace: Microsoft.SqlServerCe.VersionManagement
Assembly: Microsoft.SqlServerCe.VersionManagement (in Microsoft.SqlServerCe.VersionManagement.dll)
Syntax
'Declaration
Public Function CompareTo ( _
other As SqlCeVersion _
) As Integer
'Usage
Dim instance As SqlCeVersion
Dim other As SqlCeVersion
Dim returnValue As Integer
returnValue = instance.CompareTo(other)
public int CompareTo(
SqlCeVersion other
)
public:
virtual int CompareTo(
SqlCeVersion^ other
) sealed
abstract CompareTo :
other:SqlCeVersion -> int
override CompareTo :
other:SqlCeVersion -> int
public final function CompareTo(
other : SqlCeVersion
) : int
Parameters
- other
Type: Microsoft.SqlServerCe.VersionManagement.SqlCeVersion
A SqlCeVersion object to compare to the current SqlCeVersion object, or nulla null reference (Nothing in Visual Basic).
Return Value
Type: System.Int32
The result of the comparison.