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
ParameterTypeAçıklama
xargs_typeKarşılaştırılacak ilk nesne.
yargs_typeKarşılaştırılacak ikinci nesne.

ReturnValue

Eğer x, y‘den küçükse negatif değer; eşitse sıfır; x, y‘den büyükse pozitif değer.

Ayrıca Bakınız