This topic has not yet been rated - Rate this topic

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
Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.