System::Globalization::SortKey::Compare 方法
SortKey::Compare method
比较两个排序键。
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
- Class SortKey
- Namespace System::Globalization
- Library Aspose.Font for C++