ModelCollationComparer.GetHashCode-Methode (String)

Fungiert als Hashfunktion für das angegebene String-Objekt.

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

Parameter

Rückgabewert

Typ: System.Int32
Ein Int32-Hash für das angegebene String-Objekt.

Implementiert

IEqualityComparer<T>.GetHashCode(T)

.NET Framework-Sicherheit

Siehe auch

Referenz

ModelCollationComparer Klasse

GetHashCode-Überladung

Microsoft.Data.Schema.SchemaModel-Namespace

GetHashCode