DropHandlerBase.SelectText(SnapshotPoint, Int32, DragDropInfo, Boolean) Methode

Definition

Diese Methode wählt den Text am Ende des Drop-Vorgangs aus.

protected:
 virtual void SelectText(Microsoft::VisualStudio::Text::SnapshotPoint insertionPoint, int dataLength, Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropInfo ^ dragDropInfo, bool reverse);
protected virtual void SelectText (Microsoft.VisualStudio.Text.SnapshotPoint insertionPoint, int dataLength, Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo dragDropInfo, bool reverse);
abstract member SelectText : Microsoft.VisualStudio.Text.SnapshotPoint * int * Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo * bool -> unit
override this.SelectText : Microsoft.VisualStudio.Text.SnapshotPoint * int * Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo * bool -> unit
Protected Overridable Sub SelectText (insertionPoint As SnapshotPoint, dataLength As Integer, dragDropInfo As DragDropInfo, reverse As Boolean)

Parameter

insertionPoint
SnapshotPoint

Die Position, an der Daten eingefügt wurden.

dataLength
Int32

Die Länge der Daten, die in den Puffer eingefügt wurden.

dragDropInfo
DragDropInfo

Die DragDropInfo Klasse mit Informationen über die Ablage.

reverse
Boolean

True, wenn die vorhandene Auswahl vor dem Drop umgekehrt wurde.

Hinweise

Diese Methode wird nur aufgerufen, wenn die Datenablage zu einem anderen Ergebnis DragDropEffects als dragdroanpeer. None geführt hat.

Gilt für