## CompareInfo::GetHashCode() const method


Analog of C# [Object.GetHashCode()](../../../system/object/gethashcode/) method. Enables hashing of custom objects.

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


### ReturnValue

Hash code value as calculated by corresponding class.

## See Also

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


Gets string hash code based on specified comparison options.

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


| Parameter | Type | Description |
| --- | --- | --- |
| value | const String\& | Input string. |
| options | CompareOptions | [String](../../../system/string/) comparsion options. |

### ReturnValue

Hash code.

## See Also

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