ValueTuple<T1,T2,T3,T4,T5,T6>.IStructuralEquatable.GetHashCode(IEqualityComparer) 方法

定义

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

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

返回

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

实现

适用于