StringInfo::GetHashCode Method ()
Calculates a hash code for the value of the current StringInfo object.
Assembly: mscorlib (in mscorlib.dll)
Return Value
Type: System::Int32A 32-bit signed integer hash code based on the string value of this StringInfo object.
The behavior of GetHashCode is dependent on its implementation, which might change from one version of the common language runtime to another. This might happen to improve the performance of GetHashCode. To make the behavior of GetHashCode constant, the application should override the runtime implementation of GetHashCode with an implementation known to never change.
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1