Quotations.Var 建構函式 (F#)
使用指定的名稱、 型別和變動,會建立新的變數。
命名空間/模組路徑: Microsoft.FSharp.Quotations
組件:FSharp.Core (在 FSharp.Core.dll 中)
// Signature:
new Var : string * Type * ?bool -> Var
// Usage:
new Var (name, typ)
new Var (name, typ, isMutable = isMutable)
參數
傳回值
已建立的變數。
平台
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