Lire en anglais

Partager via


IEditorOperations.SelectedText Property

Gets the selected text.

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

Syntax

string SelectedText { get; }

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

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace