PlatformAttribute 클래스

정의

플랫폼별 메타데이터가 생성될 때 형식이 지원되어야 하는 플랫폼을 선언합니다.

public ref class PlatformAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
class PlatformAttribute final : Attribute
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public sealed class PlatformAttribute : Attribute
function PlatformAttribute(platform)
Public NotInheritable Class PlatformAttribute
Inherits Attribute
상속
PlatformAttribute
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.FoundationContract (v1.0에서 도입되었습니다.)

생성자

PlatformAttribute(Platform)

특성의 새 instance 만들고 초기화합니다.

적용 대상

추가 정보