Share via


ByteArrayComparer.GetHashCode method (Byte[])

Returns a hash code for the specified object.

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

Syntax

'Declaration
Public Function GetHashCode ( _
    key As Byte() _
) As Integer
'Usage
Dim instance As ByteArrayComparer
Dim key As Byte()
Dim returnValue As Integer

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

Parameters

  • key
    Type: []

    The byte[] for which a hash code is to be returned.

Return value

Type: System.Int32
A hash code for the specified object.

Implements

IEqualityComparer<T>.GetHashCode(T)

See also

Reference

ByteArrayComparer class

ByteArrayComparer members

GetHashCode overload

Microsoft.SharePoint.Utilities namespace