## Guid::CompareTo method


Führt einen arithmetischen Vergleich der von dem aktuellen und dem angegebenen Objekt dargestellten GUIDs durch.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| g | const Guid\& | Der Vergleichswert |

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

## Siehe auch

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