System::Globalization::SortKey::Compare メソッド

SortKey::Compare method

2つのソートキーを比較します。

static int System::Globalization::SortKey::Compare(const SortKeyPtr &sortkey1, const SortKeyPtr &sortkey2)
パラメーター説明
sortkey1const SortKeyPtr&最初のソートキーです。
sortkey2const SortKeyPtr&2 番目のソートキーです。

ReturnValue

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

参照