Share via


Expr.Deserialize Method (F#)

This function is called automatically when quotation syntax (<@ @>) and related typed-expression quotations are used. The bytes are a pickled binary representation of an unlinked form of the quoted expression, and the Type argument is any type in the assembly where the quoted expression occurs, i.e. it helps scope the interpretation of the cross-assembly references in the bytes.

Namespace/Module Path: Microsoft.FSharp.Quotations

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

// Signature:
static member Deserialize : Type * Type list * Expr list * byte [] -> Expr

// Usage:
Expr.Deserialize (qualifyingType, spliceTypes, spliceExprs, bytes)

Parameters

  • qualifyingType
    Type: Type

    A type in the assembly where the quotation occurs.

  • spliceTypes
    Type: Typelist

    The list of spliced types.

  • spliceExprs
    Type: Exprlist

    The list of spliced expressions.

  • bytes
    Type: byte[]

    The serialized form of the quoted expression.

Return Value

The resulting expression.

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

Quotations.Expr Class (F#)

Microsoft.FSharp.Quotations Namespace (F#)