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: