Partager via


LanguagePrimitives.GenericHashWithComparer<'T>, fonction (F#)

Hache de manière récursive une partie d'une valeur en fonction de sa structure.

Espace de noms/Chemin du module : Microsoft.FSharp.Core.LanguagePrimitives

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

// Signature:
GenericHashWithComparer : IEqualityComparer -> 'T -> int

// Usage:
GenericHashWithComparer comparer obj

Paramètres

  • comparer
    Type : IEqualityComparer

    Fonction de comparaison.

  • obj
    Type : 'T.

    Objet en entrée.

Valeur de retour

Valeur hachée.

Plateformes

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

Informations de version

Runtime F#

Pris en charge dans : 2.0, 4.0

Silverlight

Prise en charge dans : 3

Voir aussi

Référence

Core.LanguagePrimitives, module (F#)

Microsoft.FSharp.Core, espace de noms (F#)