CompilerServices.TypeProviderDefinitionLocationAttribute 类 (F#)

指定提供程序类型定义的源位置,用于在错误消息。

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

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

[<AttributeUsage(32767, AllowMultiple = false)>]
type TypeProviderDefinitionLocationAttribute =
 class
  new TypeProviderDefinitionLocationAttribute : unit -> TypeProviderDefinitionLocationAttribute
  member this.Column : int with get, set
  member this.FilePath : string with get, set
  member this.Line : int with get, set
  member this.FilePath : string with get, set
  member this.Line  : int with get, set
 end

备注

也可以使用名称,TypeProviderDefinitionLocation的缩写形式。

构造函数

成员

说明

new

创建特性的实例。

实例成员

成员

说明

: int

指定类型提供程序定义的列。

FilePath : 字符串

指定类型提供程序定义的文件和路径。

: int

指定类型提供程序定义的行号。

平台

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

版本信息

F#核心库版本

支持:4.0,可移植

请参见

参考

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