FSharpFunc.InvokeFast<'T,'U,'V,'W,'X> 方法 (F#)
叫用具有四個局部調用引數的 F# 第一級函式值。 在某些情況下,與接續套用引數相比,這會讓應用程式的效率更高。
命名空間/模組路徑: Microsoft.FSharp.Core
組件:FSharp.Core (在 FSharp.Core.dll 中)
// Signature:
static member InvokeFast : FSharpFunc<'T,('U -> 'V -> 'W -> 'X)> * 'T * 'U * 'V * 'W -> 'X
// Usage:
FSharpFunc.InvokeFast (func, arg1, arg2, arg3, arg4)
參數
func
型別:FSharpFunc<'T,('U -> 'V ->'W -> 'X)>輸入函式。
arg1
型別:'T第一個引數。
arg2
型別:'U第二個引數。
arg3
型別:'V第三個引數。
arg4
型別:'W第四個引數。
傳回值
函式結果。
平台
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