Share via


IUIAutomationSelectionItemPattern::CachedIsSelected Property

Retrieves a cached value that specifies whether an item is selected.

Syntax

HRESULT IUIAutomationSelectionItemPattern::get_CachedIsSelected(BOOL *retVal);

Parameters

  • retVal
    The address of a variable that receives the value of the cached property: TRUE if the item is selected, otherwise FALSE.

Return Value

Returns S_OK if successful, or an error value otherwise.