ITextCaret::MoveTo Method (ITextViewLine^)
Visual Studio 2015
Moves the caret to the specified text line while preserving its current x-coordinate.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- textLine
-
Type:
Microsoft.VisualStudio.Text.Formatting::ITextViewLine^
The text line that will contain the caret.
Return Value
Type: Microsoft.VisualStudio.Text.Editor::CaretPositionA CaretPosition that contains the valid values of the caret after the move has occurred.
Show: