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

定义

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

 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> 实例的哈希代码。

返回

Int32

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

实现

适用于