Metodo System::Globalization::SortKey::Compare

SortKey::Compare method

Confronta due chiavi di ordinamento.

static int System::Globalization::SortKey::Compare(const SortKeyPtr &sortkey1, const SortKeyPtr &sortkey2)
ParametroTipoDescrizione
sortkey1const SortKeyPtr&Prima chiave di ordinamento.
sortkey2const SortKeyPtr&Seconda chiave di ordinamento.

ReturnValue

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

Vedi anche