Automation.RemoveStructureChangedEventHandler 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.
Supprime le gestionnaire d’événements modifié par la structure spécifié.
public:
static void RemoveStructureChangedEventHandler(System::Windows::Automation::AutomationElement ^ element, System::Windows::Automation::StructureChangedEventHandler ^ eventHandler);
public static void RemoveStructureChangedEventHandler(System.Windows.Automation.AutomationElement element, System.Windows.Automation.StructureChangedEventHandler eventHandler);
static member RemoveStructureChangedEventHandler : System.Windows.Automation.AutomationElement * System.Windows.Automation.StructureChangedEventHandler -> unit
Public Shared Sub RemoveStructureChangedEventHandler (element As AutomationElement, eventHandler As StructureChangedEventHandler)
Paramètres
- element
- AutomationElement
Élément UI Automation duquel supprimer le gestionnaire d’événements.
- eventHandler
- StructureChangedEventHandler
Méthode de gestionnaire passée à AddStructureChangedEventHandler(AutomationElement, TreeScope, StructureChangedEventHandler) pour l’élément UI Automation spécifié.
S’applique à
Voir aussi
- RemoveAllEventHandlers()
- S’abonner aux événements UI Automation
- Vue d’ensemble des événements UI Automation