## DefaultComparer::Compare method


RTTI 信息。

```cpp
virtual int System::Collections::Generic::DefaultComparer<T>::Compare(typename ThisType::args_type x, typename ThisType::args_type y) const override
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| x | typename ThisType::args_type | 左侧操作数。 |
| y | typename ThisType::args_type | 右侧操作数。 |

### ReturnValue

如果 **x** 小于 **y**，则为负值；如果操作数相等则为 0；否则为正值。
## 备注


实际数据比较。
## 另见

* Typedef [args_type](../../icomparer/args_type/)
* Class [DefaultComparer](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
