## Guid::CompareTo method


Realiza una comparación aritmética de los GUIDs representados por los objetos actual y especificado.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| g | const Guid\& | El comparando |

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

## Ver también

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