## SortKey::Compare method


Vergleicht zwei Sortierschlüssel.

```cpp
static int System::Globalization::SortKey::Compare(const SortKeyPtr &sortkey1, const SortKeyPtr &sortkey2)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| sortkey1 | const SortKeyPtr\& | Erster SortKey. |
| sortkey2 | const SortKeyPtr\& | Zweiter SortKey. |

### ReturnValue

-1 if **sortkey1** is less then **sortkey2**, 1 - if **sortkey1** is greater then **sortkey2**, 0 - if **sortkey1** is equal to **sortkey2**.

## Siehe auch

* Typedef [SortKeyPtr](../../sortkeyptr/)
* Class [SortKey](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
