System::Globalization::SortKey::Compare 메서드

SortKey::Compare method

두 정렬 키를 비교합니다.

static int System::Globalization::SortKey::Compare(const SortKeyPtr &sortkey1, const SortKeyPtr &sortkey2)
매개변수형식설명
sortkey1const SortKeyPtr&첫 번째 정렬 키.
sortkey2const SortKeyPtr&두 번째 정렬 키.

ReturnValue

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

또 보기