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