Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

Automation Methods

The Automation type exposes the following members.

  Name Description
Public method Static member AddAutomationEventHandler Registers a method that handles UI Automation events.
Public method Static member AddAutomationFocusChangedEventHandler Registers a method that will handle focus-changed events.
Public method Static member AddAutomationPropertyChangedEventHandler Registers a method that will handle property-changed events.
Public method Static member AddStructureChangedEventHandler Registers the method that will handle structure-changed events.
Public method Static member Compare(AutomationElement, AutomationElement) Compares two UI Automation elements, returning true if both refer to the same UI element.
Public method Static member Compare(Int32[], Int32[]) Compares two integer arrays containing run-time identifiers (IDs) to determine whether their content is the same.
Public method Static member PatternName Retrieves the name of the specified control pattern.
Public method Static member PropertyName Retrieves the name of the specified UI Automation property.
Public method Static member RemoveAllEventHandlers Removes all registered UI Automation event handlers.
Public method Static member RemoveAutomationEventHandler Removes the specified UI Automation event handler.
Public method Static member RemoveAutomationFocusChangedEventHandler Removes the specified focus-changed event handler.
Public method Static member RemoveAutomationPropertyChangedEventHandler Removes the specified property-changed event handler.
Public method Static member RemoveStructureChangedEventHandler Removes the specified structure-changed event handler.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.