将此特性添加到生成的程序集,可指示数据架构的版本,该数据架构用于对附加到已编译的 F# 库的资源中的附加 F# 特定信息进行编码。
命名空间/模块路径: Microsoft.FSharp.Core
程序集:FSharp.Core(在 FSharp.Core.dll 中)
[<AttributeUsage(1, AllowMultiple = false)>]
[<Sealed>]
type FSharpInterfaceDataVersionAttribute =
 class
  new FSharpInterfaceDataVersionAttribute : int * int * int -> FSharpInterfaceDataVersionAttribute
  member this.Major :  int
  member this.Minor :  int
  member this.Release :  int
 end
备注
也可以使用名称的缩写形式 FSharpInterfaceDataVersion。
构造函数
| 成员 | 说明 | 
|---|---|
| 创建特性的实例 | 
实例成员
| 成员 | 说明 | 
|---|---|
| 与特性相关联的 F# 版本的主版本号 | |
| 与特性相关联的 F# 版本的次版本号。 | |
| 与特性相关联的 F# 版本的发布号。 | 
平台
Windows 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2
版本信息
F# 运行时
受以下版本支持:2.0、4.0
Silverlight
受以下版本支持:3