## 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.Page for C++](../../../)
