共用方式為


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 位元帶正負號的整數雜湊碼。

實作

適用於