UnsupportedSimulatorAttribute Classe

Definizione

Indica che un'API non è supportata nel simulatore per la piattaforma specificata. È possibile applicare più attributi per indicare la mancanza di supporto su più piattaforme.

[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
Ereditarietà
UnsupportedSimulatorAttribute
Attributi

Commenti

Contrariamente agli attributi di disponibilità standard (ad esempio SupportedOSPlatformAttribute gli attributi), la presenza di questo attributo per alcune piattaforme non implica alcun significato per altre piattaforme.

Se non SupportedSimulatorAttribute sono presenti attributi o UnsupportedSimulatorAttribute in un'API, si presuppone che l'API sia disponibile nel simulatore.

Questo attributo verrà eliminato se l'app viene tagliata.

Costruttori

Nome Descrizione
UnsupportedSimulatorAttribute(String)

Inizializza un nuovo UnsupportedSimulatorAttribute attributo.

Proprietà

Nome Descrizione
PlatformName

Nome della piattaforma.

Si applica a