IEditorOperations.SelectedText Property
Gets the selected text.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaração
ReadOnly Property SelectedText As String
string SelectedText { get; }
property String^ SelectedText {
String^ get ();
}
abstract SelectedText : string
function get SelectedText () : String
Property Value
Type: System.String
The selected text.
Remarks
In box selection mode, each span of text is separated by a newline character, with an extra newline at the very end.
.NET Framework Security
- 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.