SupportedSimulatorAttribute 클래스

정의

API가 지정된 플랫폼에 대해 지원됨을 나타냅니다. 버전이 지정된 경우 지정된 OS 버전부터 API를 사용할 수 있습니다. 여러 운영 체제에서 지원을 나타내기 위해 여러 특성을 적용할 수 있습니다.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Enum | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=true)]
public sealed class SupportedSimulatorAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Enum | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=true)>]
type SupportedSimulatorAttribute = class
    inherit Attribute
상속
SupportedSimulatorAttribute
특성

설명

표준 가용성 특성(예: SupportedOSPlatformAttribute 특성)과 달리 일부 플랫폼에 대해 이 특성이 있는 것은 다른 플랫폼에 어떤 의미도 의미하지 않습니다.

API에 특성이 UnsupportedSimulatorAttribute 없거나 SupportedSimulatorAttribute 없는 경우 API는 시뮬레이터에서 사용할 수 있는 것으로 간주됩니다.

앱이 잘리면 이 특성이 잘립니다.

생성자

Name Description
SupportedSimulatorAttribute(String)

SupportedSimulatorAttribute 특성을 초기화합니다.

속성

Name Description
PlatformName

플랫폼의 이름입니다.

적용 대상