## Guid::CompareTo method


يُجري مقارنة حسابية بين GUIDs التي تمثّلها الكائنات الحالية والمحددة.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| 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++](../../../)
