Edit

Share via


ValueTuple<T1,T2>.IStructuralEquatable.GetHashCode Method

Definition

Calculates the hash code for the current ValueTuple<T1,T2> instance by using a specified computation method.

 virtual int System.Collections.IStructuralEquatable.GetHashCode(System::Collections::IEqualityComparer ^ comparer) = System::Collections::IStructuralEquatable::GetHashCode;
int IStructuralEquatable.GetHashCode (System.Collections.IEqualityComparer comparer);
abstract member System.Collections.IStructuralEquatable.GetHashCode : System.Collections.IEqualityComparer -> int
override this.System.Collections.IStructuralEquatable.GetHashCode : System.Collections.IEqualityComparer -> int
Function GetHashCode (comparer As IEqualityComparer) As Integer Implements IStructuralEquatable.GetHashCode

Parameters

comparer
IEqualityComparer

An object whose GetHashCode(Object) method calculates the hash code of the current ValueTuple<T1,T2> instance.

Returns

A 32-bit signed integer hash code.

Implements

Applies to