Condividi tramite


Metodo IStructuralEquatable.GetHashCode (F#)

Restituisce un codice hash per l'istanza corrente.

Percorso di spazio dei nomi/modulo: System.Collections

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
abstract this.GetHashCode : IEqualityComparer -> int

// Usage:
iStructuralEquatable.GetHashCode (comparer)

Parametri

  • comparer
    Tipo: IEqualityComparer

    Oggetto che calcola il codice hash dell'oggetto corrente.

Valore restituito

Codice hash per l'istanza corrente.

Note

Questa interfaccia API viene fornita per essere utilizzata esclusivamente con F# Runtime destinato a .NET Framework 2.0. In .NET Framework 4 utilizzare invece l'API di .NET Framework 4 con lo stesso nome, GetHashCode.

Piattaforme

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2.

Informazioni sulla versione

F# Runtime

Supportato in: 2.0

Silverlight

Supportato in: 3

Vedere anche

Riferimenti

Interfaccia Collections.IStructuralEquatable (F#)

Spazio dei nomi System.Collections (F#)