Automation.RemoveStructureChangedEventHandler(AutomationElement, StructureChangedEventHandler) Automation.RemoveStructureChangedEventHandler(AutomationElement, StructureChangedEventHandler) Automation.RemoveStructureChangedEventHandler(AutomationElement, StructureChangedEventHandler) Automation.RemoveStructureChangedEventHandler(AutomationElement, StructureChangedEventHandler) Method

Definition

Removes the specified structure-changed event handler.

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)

Parameters

element
AutomationElement AutomationElement AutomationElement AutomationElement

The UI Automation element from which to remove the event handler.

Applies to

See also