SearchControl.OnPreviewDrop Method
Provides class handling for dropping objects into the control or any element derived from this control.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Protected Overrides Sub OnPreviewDrop ( _
e As DragEventArgs _
)
protected override void OnPreviewDrop(
DragEventArgs e
)
protected:
virtual void OnPreviewDrop(
DragEventArgs^ e
) override
abstract OnPreviewDrop :
e:DragEventArgs -> unit
override OnPreviewDrop :
e:DragEventArgs -> unit
protected override function OnPreviewDrop(
e : DragEventArgs
)
Parameters
e
Type: DragEventArgsThe event data for the Drag event.
.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.