Share via


IUIAutomationSelectionItemPattern::Select Method

Clears any selected items and then selects the current element.

Syntax

HRESULT Select(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

If a degenerate (empty) text range is provided, the text insertion point will move to the start point of the text range.

See Also

IUIAutomationSelectionItemPattern::AddToSelection