Export (0) Print
Expand All

ISelectionProvider::CanSelectMultiple Property

Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.

Syntax


HRESULT ISelectionProvider::get_CanSelectMultiple(BOOL *pRetVal);

Parameters

pRetVal
The address of a variable that receives TRUE if multiple selection is allowed; otherwise FALSE. This parameter is passed uninitialized.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This property may be dynamic. For example, in rare cases a control might allow multiple items to be selected on initialization but subsequently allow only single selections to be made.

See Also

UI Automation Providers Overview

Community Additions

Show:
© 2014 Microsoft