Partager via


IEditorOperations.InsertProvisionalText(String) Method

Definition

Inserts the given text at the current caret position as provisional text.

public:
 bool InsertProvisionalText(System::String ^ text);
public:
 bool InsertProvisionalText(Platform::String ^ text);
bool InsertProvisionalText(std::wstring const & text);
public bool InsertProvisionalText (string text);
abstract member InsertProvisionalText : string -> bool
Public Function InsertProvisionalText (text As String) As Boolean

Parameters

text
String

The text to be inserted in the buffer.

Returns

true if the edit succeeded, otherwise false.

Exceptions

text is null.

Remarks

Provisional text is automatically replaced by subsequent InsertText() or InsertProvisionalText() calls.

Applies to