語言

ModelCollationComparer.GetHashCode 方法

定義

多載

名稱 Description
GetHashCode(ObjectIdentifier)

會取得一個與此比較器方法相容 Equals(ObjectIdentifier, ObjectIdentifier) 的物件雜湊碼

GetHashCode(IList<String>)

會取得一個與此比較器方法相容 Equals(IList<String>, IList<String>) 的物件雜湊碼

GetHashCode(String)

會取得一個與此比較器方法相容 Equals(String, String) 的物件雜湊碼

GetHashCode(ObjectIdentifier)

會取得一個與此比較器方法相容 Equals(ObjectIdentifier, ObjectIdentifier) 的物件雜湊碼

public abstract int GetHashCode(Microsoft.SqlServer.Dac.Model.ObjectIdentifier obj);
override this.GetHashCode : Microsoft.SqlServer.Dac.Model.ObjectIdentifier -> int
Public MustOverride Function GetHashCode (obj As ObjectIdentifier) As Integer

參數

obj
ObjectIdentifier

要取得雜湊碼的物件

傳回

雜湊碼

實作

適用於

GetHashCode(IList<String>)

會取得一個與此比較器方法相容 Equals(IList<String>, IList<String>) 的物件雜湊碼

public abstract int GetHashCode(System.Collections.Generic.IList<string> obj);
override this.GetHashCode : System.Collections.Generic.IList<string> -> int
Public MustOverride Function GetHashCode (obj As IList(Of String)) As Integer

參數

obj
IList<String>

要取得雜湊碼的物件

傳回

雜湊碼

實作

適用於

GetHashCode(String)

會取得一個與此比較器方法相容 Equals(String, String) 的物件雜湊碼

public abstract int GetHashCode(string obj);
override this.GetHashCode : string -> int
Public MustOverride Function GetHashCode (obj As String) As Integer

參數

obj
String

要取得雜湊碼的物件

傳回

雜湊碼

實作

適用於