ValueTuple<T1,T2,T3,T4>.IStructuralEquatable.GetHashCode 方法

定义

通过使用指定计算方法计算当前 ValueTuple<T1,T2,T3,T4> 实例的哈希代码。

 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

参数

comparer
IEqualityComparer

一个对象,其 GetHashCode(Object) 方法计算当前 ValueTuple<T1,T2,T3,T4> 实例的哈希代码。

返回

Int32

32 位有符号整数哈希代码。

实现

适用于