Share via


ModelCollationComparer.GetHashCode Method (String)

Serves as a hash function for the provided String.

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

Syntax

'Declaration
Public Function GetHashCode ( _
    obj As String _
) As Integer
public int GetHashCode(
    string obj
)
public:
virtual int GetHashCode(
    String^ obj
) sealed
abstract GetHashCode : 
        obj:string -> int 
override GetHashCode : 
        obj:string -> int 
public final function GetHashCode(
    obj : String
) : int

Parameters

Return Value

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

Implements

IEqualityComparer<T>.GetHashCode(T)

.NET Framework Security

See Also

Reference

ModelCollationComparer Class

GetHashCode Overload

Microsoft.Data.Schema.SchemaModel Namespace

GetHashCode