Expand Minimize

IEditorOperations.InsertProvisionalText Method

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

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

bool InsertProvisionalText(
	string text
)

Parameters

text
Type: System.String

The text to be inserted in the buffer.

Return Value

Type: System.Boolean
true if the edit succeeded, otherwise false.

ExceptionCondition
ArgumentNullException

text is null.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft