Share via


ITextRangeProvider::Select Method

Highlights text in the text control corresponding to the text range start and end endpoints.

Syntax

HRESULT Select(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Providing a degenerate text range will move the text insertion point.

See Also

UI Automation Providers Overview, ITextProvider