Freigeben über


ITextCaret.MoveToNextCaretPosition Method

Moves the caret to the next valid CaretPosition.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
Function MoveToNextCaretPosition As CaretPosition
CaretPosition MoveToNextCaretPosition()
CaretPosition MoveToNextCaretPosition()
abstract MoveToNextCaretPosition : unit -> CaretPosition 
function MoveToNextCaretPosition() : 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

See Also

Reference

ITextCaret Interface

Microsoft.VisualStudio.Text.Editor Namespace