Поделиться через


ModelCollationComparer.GetHashCode Method (ModelIdentifier)

Serves as a hash function for the provided ModelIdentifier.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
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

Parameters

Return Value

Type: System.Int32
An Int32 hash code for the provided identifier.

Implements

IEqualityComparer<T>.GetHashCode(T)

.NET Framework Security

See Also

Reference

ModelCollationComparer Class

GetHashCode Overload

Microsoft.Data.Schema.SchemaModel Namespace

GetHashCode

ModelIdentifier