IEditorOperations.InsertText(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.