## TypeInfo::StringHash method


计算指定字符串的哈希值。

```cpp
static uint32_t System::TypeInfo::StringHash(const char_t *str)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| str | const char_t * | 用于计算哈希的 [String](../../string/)。 |

### ReturnValue

哈希值。

## 另见

* Class [TypeInfo](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
