ITextCaret.MoveToPreviousCaretPosition Method
Moves the caret to the previous valid CaretPosition.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaración
Function MoveToPreviousCaretPosition As CaretPosition
CaretPosition MoveToPreviousCaretPosition()
CaretPosition MoveToPreviousCaretPosition()
abstract MoveToPreviousCaretPosition : unit -> CaretPosition
function MoveToPreviousCaretPosition() : CaretPosition
Return Value
Type: Microsoft.VisualStudio.Text.Editor.CaretPosition
A CaretPosition containing the valid values of the caret after the move has occurred.
Remarks
This method handles UTF-16 surrogate pairs and combining character sequences.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.