## Version::CompareTo method


Geçerli nesne ve belirtilen nesne tarafından temsil edilen sürümleri karşılaştırır.

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


| Parametre | Tür | Açıklama |
| --- | --- | --- |
| ver | const Version\& | Geçerli nesne ile karşılaştırmak için bir [Version](../) nesnesi |

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

## Ayrıca Bakınız

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