## Version::CompareTo method


現在のオブジェクトと指定されたオブジェクトが表すバージョンを比較します。

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


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| ver | const Version\& | 現在のオブジェクトと比較するための [Version](../) オブジェクト |

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

## 参照

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