IStylesProvider::StyleName property

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

This property is read-only.

Syntax


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

Property value

Type: BSTR*

The name of the style, or NULL if the style has no name.

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 | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

See also

IStylesProvider

 

 

Community Additions

ADD
Show:
© 2014 Microsoft