ITextView.Selection Property

Gets the selection element.

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

ITextSelection Selection { get; }

Property Value

Type: Microsoft.VisualStudio.Text.Editor.ITextSelection
The selection.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft