## IComparer::Compare method


[Comparison](../../../system/comparison/) function.

```cpp
virtual int System::Collections::Generic::IComparer<T>::Compare(args_type x, args_type y) const =0
```


| Parametre | Tür | Açıklama |
| --- | --- | --- |
| x | args_type | Karşılaştırılacak ilk nesne. |
| y | args_type | Karşılaştırılacak ikinci nesne. |

### ReturnValue

Negatif değer, **x** **y**'den küçükse; eşit olduğunda sıfır; **x** **y**'den büyükse pozitif değer.

## Ayrıca Bakınız

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