GetHashCode Method
Collapse the table of content
Expand the table of content

Cookie::GetHashCode Method ()


Overrides the Object::GetHashCode method.

Namespace:   System.Net
Assembly:  System (in System.dll)

virtual int GetHashCode() override

Return Value

Type: System::Int32

The 32-bit signed integer hash code for this instance.

Classes that might be used as a key in a hash table must provide this override, because objects that are used as keys in a hash table are required to generate their own hash code through this method.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
© 2015 Microsoft