Partager via


IEditorOperations.InsertText(String) Method

Definition

Inserts the given text at the current caret position.

public:
 bool InsertText(System::String ^ text);
public:
 bool InsertText(Platform::String ^ text);
bool InsertText(std::wstring const & text);
public bool InsertText (string text);
abstract member InsertText : string -> bool
Public Function InsertText (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.

Applies to