System::Collections::Generic::IComparer::Compare metodo

IComparer::Compare method

Comparison function.

virtual int System::Collections::Generic::IComparer<T>::Compare(args_type x, args_type y) const =0
ParametroTipoDescrizione
xargs_typePrimo oggetto da confrontare.
yargs_typeSecondo oggetto da confrontare.

ReturnValue

Valore negativo se x è minore di y; zero se sono uguali; valore positivo se x è maggiore di y.

Vedi anche