ValueTuple<T1,T2,T3>.IStructuralEquatable.GetHashCode(IEqualityComparer) Method

Definition

通过使用指定计算方法计算当前 ValueTuple<T1,T2,T3> 实例的哈希代码。Calculates the hash code for the current ValueTuple<T1,T2,T3> 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

一个对象,其 GetHashCode(Object) 方法计算当前 ValueTuple<T1,T2,T3> 实例的哈希代码。An object whose GetHashCode(Object) method calculates the hash code of the current ValueTuple<T1,T2,T3> instance.

Returns

Int32

32 位有符号整数哈希代码。A 32-bit signed integer hash code.

Implements

Applies to