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
'宣告
Sub SwapCaretAndAnchor
void SwapCaretAndAnchor()
void SwapCaretAndAnchor()
abstract SwapCaretAndAnchor : unit -> unit
function SwapCaretAndAnchor()
.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.