ITextProvider::SupportedTextSelection Property

Gets a value that specifies whether a text provider supports selection and, if so, the type of selection supported.

Syntax

HRESULT ITextProvider::get_SupportedTextSelection(SupportedTextSelection *pRetVal);

Parameters

  • pRetVal
    [retval][out] The address of a variable that receives a value from the SupportedTextSelection enumerated type. This parameter is passed uninitialized.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UI Automation Providers Overview, ITextRangeProvider