## IEqualityComparer::GetHashCode method


Gets hash code for some object.

```cpp
virtual int System::Collections::Generic::IEqualityComparer<T>::GetHashCode(T obj) const =0
```


| Parameter | Type | Description |
| --- | --- | --- |
| obj | T | [Object](../../../system/object/) to calculate hash code for. |

### ReturnValue

Hash code calculated for **obj**.

## See Also

* Class [IEqualityComparer](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
