UnsupportedSimulatorAttribute Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Označuje, že rozhraní API není podporováno v simulátoru pro zadanou platformu. Více atributů lze použít k označení nedostatku podpory na více platformách.
[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
- Dědičnost
-
UnsupportedSimulatorAttribute
- Atributy
Poznámky
Na rozdíl od standardních atributů dostupnosti (například SupportedOSPlatformAttribute atributů) přítomnost tohoto atributu pro některé platformy neznamená žádný význam pro jiné platformy.
Pokud rozhraní API neobsahuje žádné SupportedSimulatorAttribute atributy nebo UnsupportedSimulatorAttribute atributy, předpokládá se, že je rozhraní API dostupné v simulátoru.
Tento atribut se ořízne, pokud je aplikace oříznutá.
Konstruktory
| Name | Description |
|---|---|
| UnsupportedSimulatorAttribute(String) |
Inicializuje nový UnsupportedSimulatorAttribute atribut. |
Vlastnosti
| Name | Description |
|---|---|
| PlatformName |
Název platformy. |