This documentation is archived and is not being maintained.
Automation Class
Visual Studio 2010
Contains methods and fields for UI Automation client applications.
Assembly: UIAutomationClient (in UIAutomationClient.dll)
The Automation type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | AddAutomationEventHandler | Registers a method that handles UI Automation events. |
![]() ![]() | AddAutomationFocusChangedEventHandler | Registers a method that will handle focus-changed events. |
![]() ![]() | AddAutomationPropertyChangedEventHandler | Registers a method that will handle property-changed events. |
![]() ![]() | AddStructureChangedEventHandler | Registers the method that will handle structure-changed events. |
![]() ![]() | Compare(AutomationElement, AutomationElement) | Compares two UI Automation elements, returning true if both refer to the same UI element. |
![]() ![]() | Compare(array<Int32>, array<Int32>) | Compares two integer arrays containing run-time identifiers (IDs) to determine whether their content is the same. |
![]() ![]() | PatternName | Retrieves the name of the specified control pattern. |
![]() ![]() | PropertyName | Retrieves the name of the specified UI Automation property. |
![]() ![]() | RemoveAllEventHandlers | Removes all registered UI Automation event handlers. |
![]() ![]() | RemoveAutomationEventHandler | Removes the specified UI Automation event handler. |
![]() ![]() | RemoveAutomationFocusChangedEventHandler | Removes the specified focus-changed event handler. |
![]() ![]() | RemoveAutomationPropertyChangedEventHandler | Removes the specified property-changed event handler. |
![]() ![]() | RemoveStructureChangedEventHandler | Removes the specified structure-changed event handler. |
| Name | Description | |
|---|---|---|
![]() ![]() | ContentViewCondition | Represents a predefined view of the UI Automation tree that includes only UI Automation elements that can contain content. |
![]() ![]() | ControlViewCondition | Represents a predefined view of the UI Automation tree that includes only UI Automation elements that are controls. |
![]() ![]() | RawViewCondition | Represents a predefined view of the UI Automation tree that includes all UI Automation elements. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
