Export (0) Print
Expand All

IUIAutomationTogglePattern::CachedToggleState Property

Retrieves the cached state of the UI Automation element.

Syntax


HRESULT IUIAutomationTogglePattern::get_CachedToggleState(ToggleState *retVal);

Parameters

retVal
The address of a variable that receives a value from the ToggleState enumerated type indicating the cached state of the element.

Return Value

Returns S_OK if successful, or an error value otherwise.

Community Additions

Show:
© 2014 Microsoft