طريقة System::Collections::Generic::IComparer::Compare
IComparer::Compare method
Comparison function.
virtual int System::Collections::Generic::IComparer<T>::Compare(args_type x, args_type y) const =0
| معامل | نوع | الوصف |
|---|---|---|
| x | args_type | الكائن الأول للمقارنة. |
| y | args_type | الكائن الثاني للمقارنة. |
ReturnValue
قيمة سلبية إذا كان x أقل من y؛ صفر إذا كانا متساويين؛ قيمة إيجابية إذا كان x أكبر من y.
انظر أيضًا
- Typedef args_type
- Class IComparer
- Namespace System::Collections::Generic
- Library Aspose.Font for C++