IUIAutomationLegacyIAccessiblePattern::CurrentRole property

Retrieves the Microsoft Active Accessibility role identifier of the element.

This property is read-only.

Syntax


HRESULT get_CurrentRole(
  [out, retval]  DWORD *pdwRole
);

Property value

Type: DWORD*

The role identifier, such as ROLE_SYSTEM_LIST.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

See also

IUIAutomationLegacyIAccessiblePattern

 

 

Community Additions

ADD
Show:
© 2014 Microsoft