Share via


IEditorSelection.SelectedText Property

Applies to v2.

Gets the text in the selection.

Namespace:  Microsoft.WebMatrix.Extensibility.Editor
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
ReadOnly Property SelectedText As String 
    Get
'Usage
Dim instance As IEditorSelection 
Dim value As String 

value = instance.SelectedText
string SelectedText { get; }
property String^ SelectedText {
    String^ get ();
}
abstract SelectedText : string
function get SelectedText () : String

Property Value

Type: System.String
The text in the selection.

See Also

Reference

IEditorSelection Interface

Microsoft.WebMatrix.Extensibility.Editor Namespace