Condividi tramite


Ref.Value<'T> Property (F#)

The current value of the reference cell.

Namespace/Module Path: Microsoft.FSharp.Core

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

// Signatures:
member this.Value :  'T with get, set

// Usage:
ref.Value
ref.Value <- value

Parameters

  • value
    Type: 'T

    The value of the reference cell.

Return Value

The value of the reference cell.

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.Ref<'T> Record (F#)

Microsoft.FSharp.Core Namespace (F#)