Share via


ITextSelection.TypeText(String) Method

Definition

Enters text into the selection as if someone typed it.

public:
 void TypeText(Platform::String ^ value);
void TypeText(winrt::hstring const& value);
public void TypeText(string value);
function typeText(value)
Public Sub TypeText (value As String)

Parameters

value
String

Platform::String

winrt::hstring

The text string to type into this selection.

Remarks

This method is similar to the underlying ITextDocument.SetText method, but is sensitive to the Insert or Overtype key state and UI settings like AutoCorrect and smart quotes.

Applies to