System::Collections::Generic::IComparer::Compare metode
IComparer::Compare method
Comparison function.
virtual int System::Collections::Generic::IComparer<T>::Compare(args_type x, args_type y) const =0
| Parameter | Tipe | Deskripsi |
|---|---|---|
| x | args_type | Objek pertama untuk dibandingkan. |
| y | args_type | Objek kedua untuk dibandingkan. |
ReturnValue
Nilai negatif jika x kurang dari y; nol jika keduanya sama; nilai positif jika x lebih besar dari y.
Lihat Juga
- Typedef args_type
- Class IComparer
- Namespace System::Collections::Generic
- Library Aspose.Page for C++