Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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


Type: 'T

The input object.

The hashed value.

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

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

© 2015 Microsoft