## Guid::CompareTo method


Effectue une comparaison arithmétique des GUID représentés par les objets actuel et spécifié.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| g | const Guid\\& | Le comparand |

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

## Voir aussi

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