Share via


GetHashCode Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the hash code for this instance.

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

Syntax

'Declaration
Public Overrides Function GetHashCode As Integer
public override int GetHashCode()
public:
virtual int GetHashCode() override
abstract GetHashCode : unit -> int 
override GetHashCode : unit -> int 
public override function GetHashCode() : int

Return Value

Type: System. . :: . .Int32
The hash code for this instance.

.NET Framework Security

See Also

Reference

Guid Structure

System Namespace