IUIAutomationStylesPattern::get_CurrentStyleId method

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

This property is read-only.

Syntax

HRESULT get_CurrentStyleId(
  int *retVal
);

Parameters

retVal

Return Value

None

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header uiautomationclient.h (include UIAutomation.h)

See Also

IUIAutomationStylesPattern