## RuntimeHelpers::GetHashCode method


Mendapatkan kode hash pada tipe apa pun. Memanggil [Object::GetHashCode()](../../../system/object/gethashcode/) untuk melakukannya.

```cpp
template<typename T> static int System::Runtime::CompilerServices::RuntimeHelpers::GetHashCode(SmartPtr<T> const &obj)
```


| Parameter | Deskripsi |
| --- | --- |
| T | Tipe untuk mendapatkan kode hash. |

| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| obj | SmartPtr\<T\> const\& | [Object](../../../system/object/) untuk mendapatkan informasi dari. |

### ReturnValue

Nilai kode hash sebagaimana dihitung oleh implementasi target.

## Lihat Juga

* Class [SmartPtr](../../../system/smartptr/)
* Class [RuntimeHelpers](../)
* Namespace [System::Runtime::CompilerServices](../../)
* Library [Aspose.Page for C++](../../../)
