CompilerServices.TypeProviderAttribute 類別 (F#)
實作介面 ITypeProvider 擴充編譯器之類別的區域。
命名空間/模組路徑:Microsoft.FSharp.Core.CompilerServices
組件:FSharp.Core (在 FSharp.Core.dll 中)
[<AttributeUsage(4, AllowMultiple = false)>]
type TypeProviderAttribute =
class
new TypeProviderAttribute : unit -> TypeProviderAttribute
end
備註
您也可以使用名稱的簡短形式 TypeProvider。
建構函式
成員 |
描述 |
---|---|
建立屬性的執行個體。 |
平台
Windows 8 中, Windows 7, Windows Server 2012 上, Windows Server 2008 R2
版本資訊
F# 核心程式庫版本
支援版本:4.0,可攜式執行檔 (PE)。