## StringComparer::GetHashCode method


Gets string's hash code.

```cpp
virtual int System::StringComparer::GetHashCode(String obj) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| obj | String | [String](../../string/) to calculate hash code for. |

### ReturnValue

Hash code calculated for **obj**.

## See Also

* Class [String](../../string/)
* Class [StringComparer](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
