다음을 통해 공유


Core.LiteralAttribute 클래스(F#)

값에 이 특성을 추가하면 값이 .NET Framework 상수 리터럴로 컴파일됩니다.

네임스페이스/모듈 경로: Microsoft.FSharp.Core

어셈블리: FSharp.Core(FSharp.Core.dll)

[<AttributeUsage(256, AllowMultiple = false)>]
[<Sealed>]
type LiteralAttribute =
 class
  new LiteralAttribute : unit -> LiteralAttribute
 end

설명

짧은 형식의 이름인 Literal를 사용할 수도 있습니다.

생성자

멤버

설명

new

특성의 인스턴스를 만듭니다.

플랫폼

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

버전 정보

F# 런타임

지원되는 버전: 2.0, 4.0

Silverlight

지원되는 버전: 3

참고 항목

참조

Microsoft.FSharp.Core 네임스페이스(F#)