共用方式為


KeyComparer.GetHashCode 方法

定義

多載

GetHashCode(IKey)

傳回指定物件的雜湊碼。

GetHashCode(IReadOnlyKey)

傳回指定物件的雜湊碼。

GetHashCode(IKey)

傳回指定物件的雜湊碼。

public int GetHashCode (Microsoft.EntityFrameworkCore.Metadata.IKey obj);
override this.GetHashCode : Microsoft.EntityFrameworkCore.Metadata.IKey -> int
Public Function GetHashCode (obj As IKey) As Integer

參數

obj
IKey

要傳回雜湊碼的 。

傳回

指定物件的雜湊碼。

實作

適用於

GetHashCode(IReadOnlyKey)

傳回指定物件的雜湊碼。

public int GetHashCode (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey obj);
override this.GetHashCode : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey -> int
Public Function GetHashCode (obj As IReadOnlyKey) As Integer

參數

obj
IReadOnlyKey

要傳回雜湊碼的 。

傳回

指定物件的雜湊碼。

實作

適用於