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(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

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 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

Version Information

F# Runtime

Supported in: 2.0, 4.0

Silverlight

Supported in: 3

See Also

Reference

Microsoft.FSharp.Core Namespace (F#)