## Guid::CompareTo method


Πραγματοποιεί αριθμητική σύγκριση των GUID που αντιπροσωπεύονται από το τρέχον και το καθορισμένο αντικείμενο.

```cpp
int System::Guid::CompareTo(const Guid &g) const
```


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| g | const Guid\& | Το συγκριτικό |

### ReturnValue

-1 if the GUID represented by the current object is less than the GUID represented by **g**; 0 if the GUIDs are equal; 1 if the GUID represented by the current object is greater than the GUID represented by **g**

## Δείτε επίσης

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