IEditorOperations.SelectAndMoveCaret-Methode (VirtualSnapshotPoint, VirtualSnapshotPoint)
Wählt aus dem angegebenen Ankerpunkt dem aktiven Punkt ausgeführt und bewegt die Einfügemarke zum neuen aktiven Punkt der Auswahl. Die ausgewählte Spanne sichtbar gemacht wird.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Sub SelectAndMoveCaret ( _
anchorPoint As VirtualSnapshotPoint, _
activePoint As VirtualSnapshotPoint _
)
void SelectAndMoveCaret(
VirtualSnapshotPoint anchorPoint,
VirtualSnapshotPoint activePoint
)
void SelectAndMoveCaret(
VirtualSnapshotPoint anchorPoint,
VirtualSnapshotPoint activePoint
)
abstract SelectAndMoveCaret :
anchorPoint:VirtualSnapshotPoint *
activePoint:VirtualSnapshotPoint -> unit
function SelectAndMoveCaret(
anchorPoint : VirtualSnapshotPoint,
activePoint : VirtualSnapshotPoint
)
Parameter
anchorPoint
Typ: Microsoft.VisualStudio.Text.VirtualSnapshotPointDer Ankerpunkt der neuen Auswahl.
activePoint
Typ: Microsoft.VisualStudio.Text.VirtualSnapshotPointDer aktive Punkt der neuen Auswahl und Position der Einfügemarke.
Hinweise
Dadurch wird die Auswahl im Stream auswahlmodus ein und führt die Mindestmenge des Bildlaufs erforderlich, durchführens sicherzustellen, dass die ausgewählte Spanne sichtbar ist.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.