Core.CLIEventAttribute 클래스(F#)
이벤트 형식의 속성에 이 특성을 추가하면 속성이 add_EventName 및 remove_EventName 메서드 쌍으로의 구문 변환을 통해 CLI(공용 언어 인프라) 메타데이터 이벤트로 컴파일됩니다.
네임스페이스/모듈 경로: Microsoft.FSharp.Core
어셈블리: FSharp.Core(FSharp.Core.dll)
[<AttributeUsage(128, AllowMultiple = false)>]
[<Sealed>]
type CLIEventAttribute =
class
new CLIEventAttribute : unit -> CLIEventAttribute
end
설명
짧은 형식의 이름인 CLIEvent를 사용할 수도 있습니다.
생성자
멤버 |
설명 |
---|---|
특성의 인스턴스를 만듭니다. |
플랫폼
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