IUIAutomationLegacyIAccessiblePattern interface

Exposes methods and properties that enable Microsoft UI Automation clients to retrieve UI information from Microsoft Active Accessibility (MSAA) servers.

When to implement

UI Automation client applications do not implement IUIAutomationLegacyIAccessiblePattern.

Members

The IUIAutomationLegacyIAccessiblePattern interface inherits from the IUnknown interface. IUIAutomationLegacyIAccessiblePattern also has these types of members:

Methods

The IUIAutomationLegacyIAccessiblePattern interface has these methods.

MethodDescription
DoDefaultAction

Performs the Microsoft Active Accessibility default action for the element.

GetCachedSelection

Retrieves the cached Microsoft Active Accessibility property that identifies the selected children of this element.

GetCurrentSelection

Retrieves the Microsoft Active Accessibility property that identifies the selected children of this element.

GetIAccessible

Retrieves an IAccessible object that corresponds to the UI Automation element.

Select

Performs a Microsoft Active Accessibility selection.

SetValue

Sets the Microsoft Active Accessibility value property for the element.

 

Properties

The IUIAutomationLegacyIAccessiblePattern interface has these properties.

PropertyAccess typeDescription

CachedChildId

Read-only

Retrieves the cached Microsoft Active Accessibility child identifier for the element.

CachedDefaultAction

Read-only

Retrieves the Microsoft Active Accessibility default action for the element.

CachedDescription

Read-only

Retrieves the cached Microsoft Active Accessibility description of the element.

CachedHelp

Read-only

Retrieves the cached Microsoft Active Accessibility help string for the element.

CachedKeyboardShortcut

Read-only

Retrieves the cached Microsoft Active Accessibility keyboard shortcut property for the element.

CachedName

Read-only

Retrieves the cached Microsoft Active Accessibility name property of the element.

CachedRole

Read-only

Retrieves the cached Microsoft Active Accessibility role of the element.

CachedState

Read-only

Retrieves the cached Microsoft Active Accessibility state identifier for the element.

CachedValue

Read-only

Retrieves the cached Microsoft Active Accessibility value property.

CurrentChildId

Read-only

Retrieves the Microsoft Active Accessibility child identifier for the element.

CurrentDefaultAction

Read-only

Retrieves the Microsoft Active Accessibility default action for the element.

CurrentDescription

Read-only

Retrieves the Microsoft Active Accessibility description of the element.

CurrentHelp

Read-only

Retrieves the Microsoft Active Accessibility help string for the element.

CurrentKeyboardShortcut

Read-only

Retrieves the Microsoft Active Accessibility keyboard shortcut property for the element.

CurrentName

Read-only

Retrieves the Microsoft Active Accessibility name property of the element.

CurrentRole

Read-only

Retrieves the Microsoft Active Accessibility role identifier of the element.

CurrentState

Read-only

Retrieves the Microsoft Active Accessibility state identifier for the element.

CurrentValue

Read-only

Retrieves the Microsoft Active Accessibility value property.

 

Remarks

This interface is obtained just like any other control pattern. It enables UI Automation clients to gather MSAA properties more efficiently, taking advantage of the caching system, and also enables UI Automation clients to interact with native Microsoft Active Accessibility servers that support the IAccessible interface.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista, Windows XP with SP3 and Platform Update for Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008, Windows Server 2003 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

DLL

UIAutomationCore.dll

IID

IID_IUIAutomationLegacyIAccessiblePattern is defined as 828055ad-355b-4435-86d5-3b51c14a9b1b

See also

Control Pattern Interfaces for Clients

 

 

Show: