
## GetHashCode (1 of 2) {#gethashcode_1}

GetHashCode returns a hash function for this object.

**Returns:** Returns a hash function for this object.

```cpp
GetHashCode()
```

---

## GetHashCode (2 of 2) {#gethashcode_2}

GetHashCode returns a hash function for specified object.

**Returns:** Returns a hash function for specified object.

```cpp
GetHashCode(System::SharedPtr < Url > obj)
```

| Parameter | Description |
| --- | --- |
| obj | The Object for which a hash code is to be returned. |

