## SortKey::Compare method


두 정렬 키를 비교합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| sortkey1 | const SortKeyPtr\& | 첫 번째 정렬 키. |
| sortkey2 | const SortKeyPtr\& | 두 번째 정렬 키. |

### ReturnValue

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

## 또 보기

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