IEditorOperations::SelectedText Property

 

Gets the selected text.

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

property String^ SelectedText {
	String^ get();
}

Property Value

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.

Return to top
Show: