## CompareInfo::GetSortKey(const String\&) const method


Ottiene l'oggetto [SortKey](../../sortkey/) per la stringa specificata.

```cpp
virtual SortKeyPtr System::Globalization::CompareInfo::GetSortKey(const String &value) const
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| valore | const String\& | Stringa di input. |

### ReturnValue

[SortKey](../../sortkey/) object.

## Vedi anche

* Typedef [SortKeyPtr](../../sortkeyptr/)
* Class [String](../../../system/string/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
## CompareInfo::GetSortKey(const String\&, CompareOptions) const method


Ottiene l'oggetto [SortKey](../../sortkey/) per la stringa specificata utilizzando le opzioni di confronto specificate.

```cpp
virtual SortKeyPtr System::Globalization::CompareInfo::GetSortKey(const String &value, CompareOptions options) const
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| valore | const String\& | Stringa di input. |
| opzioni | CompareOptions | Opzioni di confronto. |

### ReturnValue

[SortKey](../../sortkey/) object.

## Vedi anche

* Typedef [SortKeyPtr](../../sortkeyptr/)
* Class [String](../../../system/string/)
* Enum [CompareOptions](../../compareoptions/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
