## Guid::CompareTo method


Выполняет арифметическое сравнение GUID, представленных текущим и указанным объектами.

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


| Параметр | Тип | Описание |
| --- | --- | --- |
| g | const Guid\& | Сравниваемое значение |

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

## См. также

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