ImmutableArray<T>.IStructuralEquatable.GetHashCode(IEqualityComparer) 方法

定义

返回当前实例的哈希代码。Returns a hash code for the current 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

一个计算当前对象的哈希代码的对象。An object that computes the hash code of the current object.

返回

当前实例的哈希代码。The hash code for the current instance.

实现

适用于