## Version::CompareTo method


Compare les versions représentées par l'objet actuel et l'objet spécifié.

```cpp
int System::Version::CompareTo(const Version &ver) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| ver | const Version\& | Un objet [Version](../) à comparer avec l'objet actuel |

### 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**

## Voir aussi

* Class [Version](../)
* Class [Version](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
