Share via


DropHandlerBase.SelectText Method

Definition

This method selects the text at the end of the drop operation.

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)

Parameters

insertionPoint
SnapshotPoint

The position at which data was inserted.

dataLength
Int32

The length of the data inserted in the buffer.

dragDropInfo
DragDropInfo

The DragDropInfo class containing information about the drop.

reverse
Boolean

True if the existing selection prior to the drop was reversed.

Remarks

This method will only be called if the drop of data resulted in an DragDropEffects other than DragDropEffects.None.

Applies to