共用方式為


DragDropHelper Class

Helper class for hooking up Drag and Drop operations with a specific drop target If no drop target is specified, the shell's main window drop target will be used by default, which allows handling file drop operations over the shell main's window

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣告
<CLSCompliantAttribute(False)> _
Public Class DragDropHelper
'用途
Dim instance As DragDropHelper
[CLSCompliantAttribute(false)]
public class DragDropHelper
[CLSCompliantAttribute(false)]
public ref class DragDropHelper
[<CLSCompliantAttribute(false)>]
type DragDropHelper =  class end
public class DragDropHelper

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.PlatformUI.DragDropHelper

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DragDropHelper Members

Microsoft.VisualStudio.PlatformUI Namespace