System::Globalization::SortKey::Compare method
SortKey::Compare method
Compares two sort keys.
static int System::Globalization::SortKey::Compare(const SortKeyPtr &sortkey1, const SortKeyPtr &sortkey2)
Parameter | Type | Description |
---|---|---|
sortkey1 | const SortKeyPtr& | First sort key. |
sortkey2 | const SortKeyPtr& | Second sort key. |
ReturnValue
-1 if sortkey1 is less then sortkey2, 1 - if sortkey1 is greater then sortkey2, 0 - if sortkey1 is equal to sortkey2.
See Also
- Typedef SortKeyPtr
- Class SortKey
- Namespace System::Globalization
- Library Aspose.PUB for C++