IEditorOperations.SelectLine(ITextViewLine, Boolean) Method
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.
Selects the given line.
public:
void SelectLine(Microsoft::VisualStudio::Text::Formatting::ITextViewLine ^ viewLine, bool extendSelection);
public:
void SelectLine(Microsoft::VisualStudio::Text::Formatting::ITextViewLine ^ viewLine, bool extendSelection);
void SelectLine(Microsoft::VisualStudio::Text::Formatting::ITextViewLine const & viewLine, bool extendSelection);
public void SelectLine (Microsoft.VisualStudio.Text.Formatting.ITextViewLine viewLine, bool extendSelection);
abstract member SelectLine : Microsoft.VisualStudio.Text.Formatting.ITextViewLine * bool -> unit
Public Sub SelectLine (viewLine As ITextViewLine, extendSelection As Boolean)
Parameters
- viewLine
- ITextViewLine
The line to select.
- extendSelection
- Boolean
If true
, the selection is extended when the caret is moved; if false
, the selection is not extended.
Exceptions
viewLine
is
null