## StringComparer::Compare method


現在の設定を使用して2つの文字列を比較します。

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


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| x | args_type | 左辺文字列の値。 |
| y | args_type | 右辺文字列の値。 |

### ReturnValue

**x** が **y** の前にある場合は負の値、等しい場合はゼロ、その他の場合は正の値を返します。

## 参照

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