IEditorOperations::SelectLine Method (ITextViewLine^, Boolean)
Visual Studio 2015
Selects the specified line.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- viewLine
-
Type:
Microsoft.VisualStudio.Text.Formatting::ITextViewLine^
The line to select.
- extendSelection
-
Type:
System::Boolean
If true, the selection is extended when the caret is moved; if false, the selection is not extended.
| Exception | Condition |
|---|---|
| ArgumentNullException | viewLine is null. |
Show: