Share via


Core.FSharpInterfaceDataVersionAttribute Class (F#)

This attribute is added to generated assemblies to indicate the version of the data schema used to encode additional F# specific information in the resource attached to compiled F# libraries.

Namespace/Module Path: Microsoft.FSharp.Core

Assembly: FSharp.Core (in FSharp.Core.dll)

[<AttributeUsage(AttributeTargets.Assembly, 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

Remarks

You can also use the short form of the name, FSharpInterfaceDataVersion.

Constructors

Member

Description

new

Creates an instance of the attribute

Instance Members

Member

Description

Major

The major version number of the F# version associated with the attribute

Minor

The minor version number of the F# version associated with the attribute

Release

The release number of the F# version associated with the attribute

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Reference

Microsoft.FSharp.Core Namespace (F#)