UnsupportedSimulatorAttribute Osztály
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Azt jelzi, hogy egy API nem támogatott a megadott platform szimulátorában. Több attribútum is alkalmazható a támogatás hiányának jelzésére több platformon.
[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 UnsupportedSimulatorAttribute : 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 UnsupportedSimulatorAttribute = class
inherit Attribute
- Öröklődés
-
UnsupportedSimulatorAttribute
- Attribútumok
Megjegyzések
A standard rendelkezésre állási attribútumokkal (például SupportedOSPlatformAttribute attribútumokkal) ellentétben az attribútum jelenléte egyes platformokon nem jelent semmilyen jelentést más platformok számára.
Ha egy API-n nincsenek vagy UnsupportedSimulatorAttribute attribútumok, SupportedSimulatorAttribute a rendszer feltételezi, hogy az API elérhető a szimulátorban.
Ez az attribútum el lesz vágva, ha az alkalmazás levágva van.
Konstruktorok
| Name | Description |
|---|---|
| UnsupportedSimulatorAttribute(String) |
Inicializál egy új UnsupportedSimulatorAttribute attribútumot. |
Tulajdonságok
| Name | Description |
|---|---|
| PlatformName |
A platform neve. |