FuncConvert.ToFSharpFunc<'T> 方法 (F#)
將指定的 Action 委派物件轉換成 F# 函式值
命名空間/模組路徑:Microsoft.FSharp.Core
組件:FSharp.Core (在 FSharp.Core.dll 中)
// Signature:
static member ToFSharpFunc : Action<'T> -> 'T -> unit
// Usage:
FuncConvert.ToFSharpFunc (action)
參數
action
型別:Action<'T>輸入動作。
傳回值
F# 函式。
平台
Windows 8 中, Windows 7, Windows Server 2012 上, Windows Server 2008 R2
版本資訊
F# 核心程式庫版本
支援版本:2.0, 4.0,可攜式執行檔 (PE)。