ByteArrayComparer.GetHashCode 方法 (Byte[])

返回指定对象的哈希代码。

命名空间:  Microsoft.SharePoint.Utilities
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Function GetHashCode ( _
    key As Byte() _
) As Integer
用法
Dim instance As ByteArrayComparer
Dim key As Byte()
Dim returnValue As Integer

returnValue = instance.GetHashCode(key)
public int GetHashCode(
    byte[] key
)

参数

  • key
    类型:[]

    为其返回的哈希代码是 byte []。

返回值

类型:System.Int32
指定对象的哈希代码。

实现

IEqualityComparer<T>.GetHashCode(T)

另请参阅

引用

ByteArrayComparer 类

ByteArrayComparer 成员

GetHashCode 重载

Microsoft.SharePoint.Utilities 命名空间