DropHandlerBase.GetDragDropEffect Method
Gets the drag and drop effect that should be displayed to the user based on the state of the operation.
Namespace: Microsoft.VisualStudio.Text.Editor.DragDrop
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣言
Protected Overridable Function GetDragDropEffect ( _
dragDropInfo As DragDropInfo _
) As DragDropPointerEffects
protected virtual DragDropPointerEffects GetDragDropEffect(
DragDropInfo dragDropInfo
)
protected:
virtual DragDropPointerEffects GetDragDropEffect(
DragDropInfo^ dragDropInfo
)
abstract GetDragDropEffect :
dragDropInfo:DragDropInfo -> DragDropPointerEffects
override GetDragDropEffect :
dragDropInfo:DragDropInfo -> DragDropPointerEffects
protected function GetDragDropEffect(
dragDropInfo : DragDropInfo
) : DragDropPointerEffects
Parameters
- dragDropInfo
Type: Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo
The DragDropInfo.
Return Value
Type: Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropPointerEffects
The DragDropPointerEffects.
.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.