SqlCeVersion Class
Represents the SQL Server Compact runtime version information.
Inheritance Hierarchy
System.Object
Microsoft.SqlServerCe.VersionManagement.SqlCeVersion
Namespace: Microsoft.SqlServerCe.VersionManagement
Assembly: Microsoft.SqlServerCe.VersionManagement (in Microsoft.SqlServerCe.VersionManagement.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class SqlCeVersion _
Implements IComparable, IComparable(Of SqlCeVersion), _
IEquatable(Of SqlCeVersion)
'Usage
Dim instance As SqlCeVersion
[SerializableAttribute]
public sealed class SqlCeVersion : IComparable,
IComparable<SqlCeVersion>, IEquatable<SqlCeVersion>
[SerializableAttribute]
public ref class SqlCeVersion sealed : IComparable,
IComparable<SqlCeVersion^>, IEquatable<SqlCeVersion^>
[<SealedAttribute>]
[<SerializableAttribute>]
type SqlCeVersion =
class
interface IComparable
interface IComparable<SqlCeVersion>
interface IEquatable<SqlCeVersion>
end
public final class SqlCeVersion implements IComparable, IComparable<SqlCeVersion>, IEquatable<SqlCeVersion>
The SqlCeVersion type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SqlCeVersion | Initializes a new instance of the SqlCeVersion class with the specified major and minor component of the version. |
Top
Properties
Name | Description | |
---|---|---|
Major | Gets or sets the the major component of the version number for the current SqlCeVersion object. | |
Minor | Gets or sets the minor component of the version number for the current SqlCeVersion object. |
Top
Methods
Name | Description | |
---|---|---|
CompareTo(Object) | Indicates the comparison of two instance of the SqlCeVersion class and returns 0 if they are the same. | |
CompareTo(SqlCeVersion) | Indicates the comparison of the current SqlCeVersion object to a specified SqlCeVersion and returns an indication of their relative values. | |
Equals(Object) | Specifies a value that indicates whether the current SqlCeVersion object is equal to a specified object. (Overrides Object.Equals(Object).) | |
Equals(SqlCeVersion) | Specifies a value indicating whether the current SqlCeVersion object is equal to a specified object. | |
Finalize | (inherited from Object) | |
GetHashCode | Retrieves a hash code for the current SqlCeVersion object. (Overrides Object.GetHashCode().) | |
GetType | (inherited from Object) | |
MemberwiseClone | (inherited from Object) | |
ToString | Converts the value of the current SqlCeVersion object to its equivalent string representation. (Overrides Object.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether the first specified SqlCeVersion object is equal to the second specified SqlCeVersion object. | |
GreaterThan | Determines whether the first specified SqlCeVersion object is greater than the second specified SqlCeVersion object. | |
GreaterThanOrEqual | Determines whether the first specified SqlCeVersion object is greater than or equal to the second specified SqlCeVersion object. | |
Inequality | Determines whether the first specified SqlCeVersion object is not equal to the second specified SqlCeVersion object. | |
LessThan | Determines whether the first specified SqlCeVersion object is less than the second specified SqlCeVersion object. | |
LessThanOrEqual | Determines whether the first specified SqlCeVersion object is less than or equal to the second SqlCeVersion object. |
Top
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.