## Version::CompareTo method


يقارن الإصدارات التي يمثلها الكائن الحالي والكائن المحدد.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| 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++](../../../)
