## StringComparer::Compare method


يقارن سلسلتين باستخدام الإعدادات الحالية.

```cpp
virtual int System::StringComparer::Compare(args_type x, args_type y) const override
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| x | args_type | قيمة السلسلة اليسرى. |
| y | args_type | قيمة السلسلة اليمنى. |

### ReturnValue

قيمة سلبية إذا كان **x** يسبق **y**، صفر إذا كانا متساويين وقيمة إيجابية غير ذلك.

## انظر أيضًا

* Typedef [args_type](../args_type/)
* Class [StringComparer](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
