## StringComparer::Compare method


Confronta due stringhe usando le impostazioni correnti.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| x | args_type | Valore della stringa LHS. |
| y | args_type | Valore della stringa RHS. |

### ReturnValue

Valore negativo se **x** precede **y**, zero se sono uguali e valore positivo altrimenti.

## Vedi anche

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