FSharpType.GetFunctionElements 方法 (F#)
從 F# 函式型別或從實作 F# 型別之關閉的執行階段型別,取得定義域和範圍型別。
**命名空間/模組路徑:**Microsoft.FSharp.Reflection
組件:FSharp.Core (在 FSharp.Core.dll 中)
// Signature:
static member GetFunctionElements : Type -> Type * Type
// Usage:
FSharpType.GetFunctionElements (functionType)
參數
functionType
型別:Type輸入函式型別。
傳回值
包含輸入函式之定義域和範圍型別的 Tuple。
平台
Windows 8 中, Windows 7, Windows Server 2012 上, Windows Server 2008 R2
版本資訊
F# 核心程式庫版本
支援版本:2.0, 4.0,可攜式執行檔 (PE)。