Sdílet prostřednictvím


Automation.RemoveStructureChangedEventHandler Metoda

Definice

Odebere zadanou obslužnou rutinu události změněnou strukturou.

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)

Parametry

element
AutomationElement

Element model UI Automation, ze kterého chcete obslužnou rutinu události odebrat.

eventHandler
StructureChangedEventHandler

Metoda obslužné rutiny, která byla předána AddStructureChangedEventHandler(AutomationElement, TreeScope, StructureChangedEventHandler) pro zadaný model UI Automation element.

Platí pro

Viz také