Expr.Deserialize 方法 (F#)

当使用引用语法 (<@ @>) 及相关的类型化表达式引用时,将自动调用此函数。 字节是未链接形式的引用表达式的备用二进制表示形式,并且 Type 参数是引用表达式所在程序集中的任何类型,即 它可帮助限定字节中跨程序集引用的解释范围。

命名空间/模块路径: 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 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2

版本信息

F# 运行时

受以下版本支持:2.0、4.0

Silverlight

受以下版本支持:3

请参见

参考

Quotations.Expr 类 (F#)

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