Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EncodingInfo::GetHashCode Method ()

 

Returns the hash code for the current EncodingInfo object.

Namespace:   System.Text
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual int GetHashCode() override

Return Value

Type: System::Int32

A 32-bit signed integer hash code.

The value returned by the GetHashCode method is not suitable for distinguishing one EncodingInfo object from another. If your application needs a unique hash code, it should override the GetHashCode method.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft