SemanticVersionCompareTo Method |
Compares the current object with another object of the same type.
Namespace: MongoDB.Driver.Core.MiscAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax public int CompareTo(
SemanticVersion other
)
Public Function CompareTo (
other As SemanticVersion
) As Integer
abstract CompareTo :
other : SemanticVersion -> int
override CompareTo :
other : SemanticVersion -> int
Parameters
- other
- Type: MongoDB.Driver.Core.MiscSemanticVersion
An object to compare with this object.
Return Value
Type:
Int32A value that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the
other parameter.Zero This object is equal to
other. Greater than zero This object is greater than
other.
Implements
IComparableTCompareTo(T)See Also