共用方式為


ByteArrayComparer.GetHashCode method (Byte[])

傳回指定物件的雜湊程式碼。

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
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
    Type: []

    雜湊程式碼所要傳回 byte []。

傳回值

Type: System.Int32
指定物件的雜湊程式碼。

Implements

IEqualityComparer<T>.GetHashCode(T)

請參閱

參照

ByteArrayComparer class

ByteArrayComparer members

GetHashCode overload

Microsoft.SharePoint.Utilities namespace