IStylesProvider::get_StyleName method

Specifies the name of the visual style of an element in a document.

This property is read-only.

Syntax

HRESULT get_StyleName(
  BSTR *retVal
);

Parameters

retVal

Return Value

None

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 | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See Also

IStylesProvider