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++