SqlCeVersion.CompareTo Method (Object)
Indicates the comparison of two instance of the SqlCeVersion class and returns 0 if they are the same.
Namespace: Microsoft.SqlServerCe.VersionManagement
Assembly: Microsoft.SqlServerCe.VersionManagement (in Microsoft.SqlServerCe.VersionManagement.dll)
Syntax
'Declaration
Public Function CompareTo ( _
obj As Object _
) As Integer
'Usage
Dim instance As SqlCeVersion
Dim obj As Object
Dim returnValue As Integer
returnValue = instance.CompareTo(obj)
public int CompareTo(
Object obj
)
public:
virtual int CompareTo(
Object^ obj
) sealed
abstract CompareTo :
obj:Object -> int
override CompareTo :
obj:Object -> int
public final function CompareTo(
obj : Object
) : int
Parameters
- obj
Type: System.Object
The SqlCeVersion instance to be compared to.
Return Value
Type: System.Int32
The comparison of two instance of the SqlCeVersion class and returns 0 if they are the same; otherwise, non-zero value.