Expr.Deserialize 方法 (F#)

当使用引用语法 (<@ @>) 及相关的类型化表达式引用时,将自动调用此函数。 字节是被引用表达式的已展开的未链接形式的二进制表示形式,因此,它有助于范围跨程序集解释在字节引用的 Type 参数是的任何类型表达式生成的程序集,IE..。

命名空间/模块路径: Microsoft.FSharp.Quotations

程序集:FSharp.Core(在 FSharp.Core.dll 中)

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

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

参数

  • qualifyingType
    类型:Type

    存在引用的程序集中的类型。

  • spliceTypes
    类型:Typelist

    拼接的类型的列表。

  • spliceExprs
    类型:Exprlist

    拼接的表达式的列表。

  • bytes
    类型:byte[]

    引用表达式的序列化形式。

返回值

结果表达式。

平台

Windows 8,Windows 7,Windows server 2012中,Windows server 2008 R2

版本信息

F#核心库版本

支持:2.0,4.0,可移植

请参见

参考

Quotations.Expr 类 (F#)

Microsoft.FSharp.Quotations 命名空间 (F#)