Core.CompiledNameAttribute クラス (F#)

この属性を F# モジュール内の値定義または関数定義に追加すると、コンパイルされた共通言語基盤 (CLI) コードで値に使用される名前が変更されます。

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

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

[<AttributeUsage(AttributeTargets.Method ||| AttributeTargets.Class ||| AttributeTargets.Field ||| AttributeTargets.Interface ||| AttributeTargets.Struct ||| AttributeTargets.Delegate ||| AttributeTargets.Enum ||| AttributeTargets.Property, AllowMultiple = false)>]
[<Sealed>]
type CompiledNameAttribute =
 class
  new CompiledNameAttribute : string -> CompiledNameAttribute
  member this.CompiledName :  string
 end

解説

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

コンストラクター

メンバー

説明

new

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

インスタンス メンバー

メンバー

説明

CompiledName

コンパイルされたコードに表示される値の名前。

プラットフォーム

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

バージョン情報

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

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

参照

関連項目

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