## Guid::CompareTo method


Esegue il confronto aritmetico dei GUID rappresentati dall'oggetto corrente e da quello specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| g | const Guid\& | Il comparando |

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

## Vedi anche

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