共用方式為


ModelCollationComparer.GetHashCode 方法 (String)

做為所提供之 String 的雜湊函式。

命名空間:  Microsoft.Data.Schema.SchemaModel
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Public Function GetHashCode ( _
    obj As String _
) As Integer
public int GetHashCode(
    string obj
)
public:
virtual int GetHashCode(
    String^ obj
) sealed
abstract GetHashCode : 
        obj:string -> int 
override GetHashCode : 
        obj:string -> int 
public final function GetHashCode(
    obj : String
) : int

參數

傳回值

型別:System.Int32
所提供之 String 的 Int32 雜湊程式碼。

實作

IEqualityComparer<T>.GetHashCode(T)

.NET Framework 安全性

請參閱

參考

ModelCollationComparer 類別

GetHashCode 多載

Microsoft.Data.Schema.SchemaModel 命名空間

GetHashCode