Share via


Computer.Key.GetHashCode Method

Definition

Gets the hash code for the object.

public:
 override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Returns

A Int32 value that specifies the hash code.

Remarks

The method serves as a hash function for the object. It is suitable for use in hashing algorithms and data structures like a hash table.

Applies to