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

定义

通过使用指定计算方法计算当前 ValueTuple<T1,T2> 实例的哈希代码。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);
Function GetHashCode (comparer As IEqualityComparer) As Integer Implements IStructuralEquatable.GetHashCode

参数

comparer
IEqualityComparer IEqualityComparer IEqualityComparer

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

返回

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

实现

适用于