ValueTuple.IStructuralEquatable.GetHashCode(IEqualityComparer) 方法

定义

返回此 ValueTuple 实例的哈希代码。Returns the hash code for this ValueTuple instance.

 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) 方法可计算哈希代码。An object whose GetHashCode(Object) method computes the hash code. 忽略此参数。This parameter is ignored.

返回

ValueTuple 实例的哈希代码。The hash code for this ValueTuple instance.

实现

适用于