共用方式為


Expr.GetFreeVars 方法 (F#)

以清單形式,取得運算式的可用運算式變數。

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

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

// Signature:
member this.GetFreeVars : unit -> seq<Var>

// Usage:
expr.GetFreeVars ()

傳回值

運算式中可用變數的序列。

平台

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#)