IUIAutomationSelectionItemPattern::RemoveFromSelection Method
Removes this element from the selection.
Syntax
HRESULT RemoveFromSelection(VOID);
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
An error code is returned if this element is the only one in the selection and the selection container requires at least one element to be selected.
See Also
IUIAutomationSelectionPattern::CurrentIsSelectionRequired, IUIAutomationSelectionItemPattern::AddToSelection, IUIAutomationSelectionItemPattern::Select