共用方式為


Expr.Lambda 方法 (F#)

建立運算式,這個運算式表示 F# 函式值的建構。

**命名空間/模組路徑:**Microsoft.FSharp.Quotations

組件:FSharp.Core (在 FSharp.Core.dll 中)

// Signature:
static member Lambda : Var * Expr -> Expr

// Usage:
Expr.Lambda (parameter, body)

參數

  • parameter
    型別:Var

    函式的參數。

  • body
    型別:Expr

    函式的主體。

傳回值

產生的運算式。

平台

Windows 8 中, Windows 7, Windows Server 2012 上, Windows Server 2008 R2

版本資訊

F# 核心程式庫版本

支援版本:2.0, 4.0,可攜式執行檔 (PE)。

請參閱

參考

Quotations.Expr 類別 (F#)

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