Condividi tramite


Core.CLIMutableAttribute Class (F#)

Adding this attribute to a record type causes it to be compiled to a Common Language Infrastructure (CLI) representation with a default constructor with property getters and setters.

Namespace/Module Path: Microsoft.FSharp.Core

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

[<AttributeUsage(AttributeTargets.Class, AllowMultiple = false)>]
[<Sealed>]
type CLIMutableAttribute =
 class
  new CLIMutableAttribute : unit -> CLIMutableAttribute
 end

Remarks

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

Constructors

Member

Description

new

Creates an instance of 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#)