System::Collections::Generic::IComparer::Compare yöntemi

IComparer::Compare method

Comparison function.

virtual int System::Collections::Generic::IComparer<T>::Compare(args_type x, args_type y) const =0
ParametreTürAçıklama
xargs_typeKarşılaştırılacak ilk nesne.
yargs_typeKarşılaştırılacak ikinci nesne.

ReturnValue

Negatif değer, x y‘den küçükse; eşit olduğunda sıfır; x y‘den büyükse pozitif değer.

Ayrıca Bakınız