| Version: CompareTo |
Compares the current Version object to a specified Version object and returns an indication of their relative values.
Public Function CompareTo( ByVal Value As Version ) As Long
| Value | Meaning |
|---|---|
| Less than zero | The current Version object is a version before Value. |
| Zero | The current Version object is the same version as Value. |
| Greater than zero | The current Version object is a version subsequent to Value. -or- Value is Nothing. |
The components of Version in decreasing order of importance are: major, minor, build, and revision. An unknown component is assumed to be older than any known component. For example: