ITypeProvider.ApplyStaticArguments 方法 (F#)
將靜態引數套用至接受靜態引述的提供型別。
命名空間/模組路徑:Microsoft.FSharp.Core.CompilerServices
組件:FSharp.Core (在 FSharp.Core.dll 中)
// Signature:
abstract this.ApplyStaticArguments : Type * string * obj [] -> Type
// Usage:
iTypeProvider.ApplyStaticArguments (typeWithoutArguments, typeNameWithArguments, staticArguments)
參數
typeWithoutArguments
型別:Type要套用靜態引數的型別。
typeNameWithArguments
型別:string型別的已損毀的名稱後面加上靜態參數。mangled 名稱從基底型別名稱取得藉由加入 backtick (`) 和表示靜態引數數目的數字。
-
靜態參數,依名稱進行索引。
傳回值
使用靜態引數中產生的型別中。
備註
提供者必須傳回含指定 mangled 名稱的型別。
平台
Windows 8 中, Windows 7, Windows Server 2012 上, Windows Server 2008 R2
版本資訊
F# 核心程式庫版本
支援版本:在 4.0Supported:4.0,可攜式執行檔 (PE)。