CompilerServices.TypeProviderAssemblyAttribute 类 (F#)

在一个运行时程序集将特性指示一个对应的设计时程序集包含一个类型提供程序。 运行时和设计器程序集可能是相同的。

命名空间/模块路径:Microsoft.FSharp.Core.CompilerServices

程序集:FSharp.Core(在 FSharp.Core.dll 中)

[<AttributeUsage(1, AllowMultiple = false)>]
type TypeProviderAssemblyAttribute =
 class
  new TypeProviderAssemblyAttribute : string -> TypeProviderAssemblyAttribute
  new TypeProviderAssemblyAttribute : unit -> TypeProviderAssemblyAttribute
  member this.AssemblyName : string
 end

备注

也可以使用名称的缩写形式 TypeProviderAssembly

构造函数

成员

说明

new

创建特性的实例

实例成员

成员

说明

AssemblyName : 字符串

对于此类型提供程序指定设计时程序集的名称。

平台

Windows 8,Windows 7,Windows server 2012中,Windows server 2008 R2

版本信息

F#核心库版本

支持:4.0,可移植

请参见

参考

Microsoft.FSharp.Core.CompilerServices 命名空间 (F#)