Export (0) Print
Expand All

IUIAutomationTogglePattern::Toggle Method

Cycles through the toggle states of a UI Automation element.

Syntax


HRESULT Toggle(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

A control cycles through its states in this order: on, off and, if supported, indeterminate.

Community Additions

Show:
© 2014 Microsoft