Core.CompilationRepresentationAttribute クラス (F#)

この属性は、型のランタイム表現を調整するために使用されます。 たとえば、型に null 表現を使用できることを示すために使用される場合があります。 これは、一部の構成要素のコンパイル方法に影響します。

名前空間/モジュール パス: Microsoft.FSharp.Core

アセンブリ: FSharp.Core (FSharp.Core.dll)

[<AttributeUsage(AttributeTargets.All, AllowMultiple = false)>]
[<Sealed>]
type CompilationRepresentationAttribute =
 class
  new CompilationRepresentationAttribute : CompilationRepresentationFlags -> CompilationRepresentationAttribute
  member this.Flags :  CompilationRepresentationFlags
 end

解説

短縮形の名前である CompilationRepresentation も使用できます。

コンストラクター

メンバー

説明

new

属性のインスタンスを作成します。

インスタンス メンバー

メンバー

説明

Flags

F# の型またはメンバーのコンパイルされた表現に対する 1 つ以上の調整を示します。

プラットフォーム

Windows 8、Windows 7、Windows Server 2012 で Windows Server 2008 R2

バージョン情報

F# コア ライブラリのバージョン

サポート: ポータブル 2.0、4.0

参照

関連項目

Microsoft.FSharp.Core 名前空間 (F#)