Edit

Share via


Vector<T>.GetHashCode Method

Definition

Returns the hash code for this instance.

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

Returns

The hash code.

Exceptions

.NET 5 and later: Type T is not supported.

Applies to