IUIAutomationStylesPattern::CurrentStyleName property

Retrieves the name of the visual style associated with an element in a document.

This property is read-only.

Syntax


HRESULT get_CurrentStyleName(
  [out, retval]  BSTR *retVal
);

Property value

Type: BSTR*

The name of the visual style.

Remarks

The style name typically indicates the role of the element in the document, such as “Heading 1.”

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

See also

IUIAutomationStylesPattern

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.