Array.IStructuralEquatable.GetHashCode(IEqualityComparer) Array.IStructuralEquatable.GetHashCode(IEqualityComparer) Array.IStructuralEquatable.GetHashCode(IEqualityComparer) Method

定義

傳回目前執行個體的雜湊碼。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 IEqualityComparer IEqualityComparer

物件,會計算目前物件的雜湊碼。An object that computes the hash code of the current object.

傳回

目前執行個體的雜湊碼。The hash code for the current instance.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 Array 執行個體轉換成 IStructuralEquatable 介面時,才能使用這個成員。It can be used only when the Array instance is cast to an IStructuralEquatable interface.

適用於