## Guid::CompareTo method


Utför aritmetisk jämförelse av GUID:erna som representeras av det aktuella och det angivna objektet.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| g | const Guid\& | Jämförelsetal |

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

## Se även

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