共用方式為


FSharpType.MakeFunctionType 方法 (F#)

傳回 Type,表示具有所指定網域和範圍的 F# 函式型別

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

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

// Signature:
static member MakeFunctionType : Type * Type -> Type

// Usage:
FSharpType.MakeFunctionType (domain, range)

參數

  • domain
    型別:Type

    函式的輸入型別。

  • range
    型別:Type

    函式的輸出型別。

傳回值

具有所指定定義域和範圍的函式型別。

平台

Windows 8 中, Windows 7, Windows Server 2012 上, Windows Server 2008 R2

版本資訊

F# 核心程式庫版本

支援版本:2.0, 4.0,可攜式執行檔 (PE)。

請參閱

參考

Reflection.FSharpType 類別 (F#)

Microsoft.FSharp.Reflection 命名空間 (F#)