System::Version::CompareTo method
Version::CompareTo method
Compares the versions represented by the current object and the specified object.
int System::Version::CompareTo(const Version &ver) const
Parameter | Type | Description |
---|---|---|
ver | const Version& | A Version object to compare with the current object |
ReturnValue
-1 if the version number represented by the current object is less than that represented by ver; 0 if the version numbers are equal; 1 if the version number represented by the current object is greater than the value represented by ver
See Also
- Class Version
- Class Version
- Namespace System
- Library Aspose.PUB for C++