AutomationPeer.ListenerExists(AutomationEvents) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une valeur qui indique si Microsoft UI Automation signale qu’un client écoute l’événement spécifié.
public:
static bool ListenerExists(AutomationEvents eventId);
static bool ListenerExists(AutomationEvents const& eventId);
public static bool ListenerExists(AutomationEvents eventId);
function listenerExists(eventId)
Public Shared Function ListenerExists (eventId As AutomationEvents) As Boolean
Paramètres
- eventId
- AutomationEvents
Une des valeurs de l'énumération.
Retours
bool
true si Microsoft UI Automation signale qu’un client écoute l’événement spécifié ; sinon, false.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour