ITextEditProvider::GetConversionTarget method

Returns the current conversion target range.

Syntax

HRESULT GetConversionTarget(
  ITextRangeProvider **pRetVal
);

Parameters

pRetVal

Type: ITextRangeProvider**

Pointer to the conversion target range (none if there is no conversion).

Return Value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Follow the guidance given in TextEdit Control Pattern that describes how to implement this method and how to raise the related notification events.

Requirements

   
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See Also

Conceptual

ITextEditProvider

ITextProvider

Reference

TextEdit Control Pattern

UI Automation Providers Overview

UiaRaiseTextEditTextChangedEvent