Table of contents
TOC
Collapse the table of content
Expand the table of content

Expr.Deserialize Method (F#)

Den Delimarsky|Last Updated: 7/4/2016
|
1 Contributor

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 System.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)

Syntax

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

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

Parameters

qualifyingType Type: System.Type

A type in the assembly where the quotation occurs.

spliceTypes Type: System.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

Quotations.Expr Class (F#)

Microsoft.FSharp.Quotations Namespace (F#)

© 2016 Microsoft