Partager via


IEditorOperations.SwapCaretAndAnchor Method

Swaps the caret from its current position to the other end of the selection.

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

Syntax

'Declaration
Sub SwapCaretAndAnchor
void SwapCaretAndAnchor()
void SwapCaretAndAnchor()
abstract SwapCaretAndAnchor : unit -> unit
function SwapCaretAndAnchor()

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace