共用方式為


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

建立屬性的執行個體

執行個體成員

成員

描述

旗標

表示 F# 型別或成員之已編譯表示的一個或多個調整

平台

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

版本資訊

F# 核心程式庫版本

支援版本:2.0, 4.0,可攜式執行檔 (PE)。

請參閱

參考

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