Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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.


HRESULT ISelectionProvider::get_CanSelectMultiple(BOOL *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.


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

© 2015 Microsoft