## CompareInfo::GetHashCode() const method


Analogo al metodo C# [Object.GetHashCode()](../../../system/object/gethashcode/). Consente l'hashing di oggetti personalizzati.

```cpp
int System::Globalization::CompareInfo::GetHashCode() const override
```


### ReturnValue

Valore del codice hash calcolato dalla classe corrispondente.

## Vedi anche

* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Page for C++](../../../)
## CompareInfo::GetHashCode(const String\&, CompareOptions) const method


Ottiene il codice hash della stringa basato sulle opzioni di confronto specificate.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | const String\& | Stringa di input. |
| options | CompareOptions | [String](../../../system/string/) opzioni di confronto. |

### ReturnValue

Codice hash.

## Vedi anche

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