Share via


ISelectionItemProvider::IsSelected Property

Gets a value that indicates whether an item is selected.

Syntax

HRESULT ISelectionItemProvider::get_IsSelected(BOOL *pRetVal);

Parameters

  • pRetVal
    The address of a variable that receives TRUE if the element is selected; otherwise FALSE. This parameter is passed uninitialized.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UI Automation Providers Overview