Automation::RemoveAutomationEventHandler Method (AutomationEvent^, AutomationElement^, AutomationEventHandler^)
.NET Framework (current version)
Removes the specified UI Automation event handler.
Assembly: UIAutomationClient (in UIAutomationClient.dll)
public: static void RemoveAutomationEventHandler( AutomationEvent^ eventId, AutomationElement^ element, AutomationEventHandler^ eventHandler )
Parameters
- eventId
-
Type:
System.Windows.Automation::AutomationEvent^
An event identifier.
- element
-
Type:
System.Windows.Automation::AutomationElement^
The UI Automation element on which to remove the event handler.
- eventHandler
-
Type:
System.Windows.Automation::AutomationEventHandler^
The handler method that was passed to AddAutomationEventHandler for the specified event identifier and UI Automation element.
.NET Framework
Available since 3.0
Available since 3.0
Show: