Automation.RemoveStructureChangedEventHandler Método

Definição

Remove o gestor de eventos especificado com alteração estrutural.

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)

Parâmetros

element
AutomationElement

O elemento Automatização da Interface de Utilizador do qual remover o gestor de eventos.

eventHandler
StructureChangedEventHandler

Um método handler que era passado para AddStructureChangedEventHandler(AutomationElement, TreeScope, StructureChangedEventHandler) para o elemento Automatização da Interface de Utilizador especificado.

Aplica-se a

Ver também