Méthode System::Globalization::SortKey::Compare

SortKey::Compare method

Compare deux clés de tri.

static int System::Globalization::SortKey::Compare(const SortKeyPtr &sortkey1, const SortKeyPtr &sortkey2)
ParamètreTypeDescription
clétri1const SortKeyPtr&Première clé de tri.
clétri2const SortKeyPtr&Deuxième clé de tri.

ReturnValue

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

Voir aussi