System::Globalization::CompareInfo::GetHashCode method

CompareInfo::GetHashCode() const method

Analog of C# Object.GetHashCode() method. Enables hashing of custom objects.

int System::Globalization::CompareInfo::GetHashCode() const override

ReturnValue

Hash code value as calculated by corresponding class.

See Also

CompareInfo::GetHashCode(const String&, CompareOptions) const method

Gets string hash code based on specified comparison options.

virtual int System::Globalization::CompareInfo::GetHashCode(const String &value, CompareOptions options) const
ParameterTypeDescription
valueconst String&Input string.
optionsCompareOptionsString comparsion options.

ReturnValue

Hash code.

See Also