ITextView.Selection Property  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the selection element.
public:
 property Microsoft::VisualStudio::Text::Editor::ITextSelection ^ Selection { Microsoft::VisualStudio::Text::Editor::ITextSelection ^ get(); };public:
 property Microsoft::VisualStudio::Text::Editor::ITextSelection ^ Selection { Microsoft::VisualStudio::Text::Editor::ITextSelection ^ get(); };public Microsoft.VisualStudio.Text.Editor.ITextSelection Selection { get; }member this.Selection : Microsoft.VisualStudio.Text.Editor.ITextSelectionPublic ReadOnly Property Selection As ITextSelectionProperty Value
The selection.