## IComparer::Compare method


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

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


| Parameter | Type | Açıklama |
| --- | --- | --- |
| x | args_type | Karşılaştırılacak ilk nesne. |
| y | args_type | Karşılaştırılacak ikinci nesne. |

### ReturnValue

Eğer **x**, **y**'den küçükse negatif değer; eşitse 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.Page for C++](../../../)
