ModelCollationComparer.GetHashCode 方法 (ModelIdentifier)

用作所提供的 ModelIdentifier 的哈希函数。

命名空间:  Microsoft.Data.Schema.SchemaModel
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
Public Function GetHashCode ( _
    obj As ModelIdentifier _
) As Integer
public int GetHashCode(
    ModelIdentifier obj
)
public:
virtual int GetHashCode(
    ModelIdentifier^ obj
) sealed
abstract GetHashCode : 
        obj:ModelIdentifier -> int 
override GetHashCode : 
        obj:ModelIdentifier -> int 
public final function GetHashCode(
    obj : ModelIdentifier
) : int

参数

返回值

类型:System.Int32
所提供的标识符的 Int32 哈希代码。

实现

IEqualityComparer<T>.GetHashCode(T)

.NET Framework 安全性

请参见

参考

ModelCollationComparer 类

GetHashCode 重载

Microsoft.Data.Schema.SchemaModel 命名空间

GetHashCode

ModelIdentifier