## Guid::CompareTo method


Melakukan perbandingan aritmetika GUID yang diwakili oleh objek saat ini dan objek yang ditentukan.

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


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| g | const Guid\& | Komparan |

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

## Lihat Juga

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