DropHandlerBase::SelectText Method (SnapshotPoint, Int32, DragDropInfo^, Boolean)
Visual Studio 2015
Selects the text at the end of the drop operation.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
protected: virtual void SelectText( SnapshotPoint insertionPoint, int dataLength, DragDropInfo^ dragDropInfo, bool reverse )
Parameters
- insertionPoint
-
Type:
Microsoft.VisualStudio.Text::SnapshotPoint
The position at which data was inserted.
- dataLength
-
Type:
System::Int32
The length of the data inserted in the buffer.
- dragDropInfo
-
Type:
Microsoft.VisualStudio.Text.Editor.DragDrop::DragDropInfo^
The DragDropInfo class containing information about the drop.
- reverse
-
Type:
System::Boolean
true if the existing selection prior to the drop was reversed.
This method will only be called if the drop of data resulted in an DragDropEffects other than None.
Show: