Array.IStructuralEquatable.GetHashCode(IEqualityComparer) 方法

定义

返回当前实例的哈希代码。

 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

一个计算当前对象的哈希代码的对象。

返回

Int32

当前实例的哈希代码。

实现

注解

此成员是显式接口成员的实现。 它只能在 Array 实例被强制转换为 IStructuralEquatable 接口时使用。

适用于