DropHandlerBase.SelectText Method
Selects the text at the end of the drop operation.
Namespace: Microsoft.VisualStudio.Text.Editor.DragDrop
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
‘선언
Protected Overridable Sub SelectText ( _
insertionPoint As SnapshotPoint, _
dataLength As Integer, _
dragDropInfo As DragDropInfo, _
reverse As Boolean _
)
protected virtual void SelectText(
SnapshotPoint insertionPoint,
int dataLength,
DragDropInfo dragDropInfo,
bool reverse
)
protected:
virtual void SelectText(
SnapshotPoint insertionPoint,
int dataLength,
DragDropInfo^ dragDropInfo,
bool reverse
)
abstract SelectText :
insertionPoint:SnapshotPoint *
dataLength:int *
dragDropInfo:DragDropInfo *
reverse:bool -> unit
override SelectText :
insertionPoint:SnapshotPoint *
dataLength:int *
dragDropInfo:DragDropInfo *
reverse:bool -> unit
protected function SelectText(
insertionPoint : SnapshotPoint,
dataLength : int,
dragDropInfo : DragDropInfo,
reverse : boolean
)
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.
Remarks
This method will only be called if the drop of data resulted in an DragDropEffects other than None.
.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.