IEditorOperations.SelectedText Property
Gets the selected text.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
'Déclaration
ReadOnly Property SelectedText As String
Get
string SelectedText { get; }
property String^ SelectedText {
String^ get ();
}
abstract SelectedText : string
function get SelectedText () : String
Type: System.String
The selected text.
In box selection mode, each span of text is separated by a newline character, with an extra newline at the very end.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.