System::Globalization::CompareInfo::GetHashCode 方法
CompareInfo::GetHashCode() const method
相当于 C# 的 Object.GetHashCode() 方法。支持对自定义对象进行哈希处理。
int System::Globalization::CompareInfo::GetHashCode() const override
ReturnValue
由相应类计算的哈希码值。
另见
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Page for C++
CompareInfo::GetHashCode(const String&, CompareOptions) const method
获取基于指定比较选项的字符串哈希码。
virtual int System::Globalization::CompareInfo::GetHashCode(const String &value, CompareOptions options) const
| Parameter | Type | 描述 |
|---|---|---|
| value | const String& | 输入字符串。 |
| options | CompareOptions | String 比较选项。 |
ReturnValue
哈希码。
另见
- Class String
- Enum CompareOptions
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Page for C++