Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to v2.
Inserts text into the current editor if it is still open, and haven't been disposed.
Namespace: Microsoft.WebMatrix.Extensibility.Editor
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Function InsertText ( _
text As String _
) As Boolean
'Usage
Dim instance As IEditorSelection
Dim text As String
Dim returnValue As Boolean
returnValue = instance.InsertText(text)
bool InsertText(
string text
)
bool InsertText(
String^ text
)
abstract InsertText :
text:string -> bool
function InsertText(
text : String
) : boolean
Parameters
text
Type: System.StringThe text to be inserted
Return Value
Type: System.Boolean
true if insertion is successful; otherwise, false.