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 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

Version Information

F# Runtime

Supported in: 2.0, 4.0

Silverlight

Supported in: 3

See Also

Reference

Quotations.Expr Class (F#)

Microsoft.FSharp.Quotations Namespace (F#)