共用方式為


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

Return Value

Type: Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropPointerEffects
The DragDropPointerEffects.

.NET Framework Security

See Also

Reference

DropHandlerBase Class

Microsoft.VisualStudio.Text.Editor.DragDrop Namespace