Compartir a través de


LanguagePrimitives.PhysicalHash<'T> Function (F#)

Implements the physical hash. This function hashes on the object identity, except for value types, where it hashes on the contents.

Namespace/Module Path: Microsoft.FSharp.Core.LanguagePrimitives

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

// Signature:
PhysicalHash : 'T -> int (requires reference type)

// Usage:
PhysicalHash obj

Parameters

  • obj
    Type: 'T

    The input object.

Return Value

The hashed value.

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Reference

Core.LanguagePrimitives Module (F#)

Microsoft.FSharp.Core Namespace (F#)