DoDragDrop Method (DicomViewer)
In This Topic
Syntax
'Declaration
<System.Security.Permissions.UIPermissionAttribute(UIPermissionClipboard.OwnClipboard)>
Public Function DoDragDrop( _
ByVal As System.Object, _
ByVal As System.Windows.Forms.DragDropEffects _
) As System.Windows.Forms.DragDropEffects
'Usage
Dim instance As DicomViewer
Dim data As System.Object
Dim allowedEffects As System.Windows.Forms.DragDropEffects
Dim value As System.Windows.Forms.DragDropEffects
value = instance.DoDragDrop(data, allowedEffects)
[System.Security.Permissions.UIPermission(UIPermissionClipboard.OwnClipboard)]
public System.Windows.Forms.DragDropEffects DoDragDrop(
System.object ,
System.Windows.Forms.DragDropEffects
)
public function DoDragDrop(
: System.TObject;
: System.Windows.Forms.DragDropEffects
): System.Windows.Forms.DragDropEffects;
System.Security.Permissions.UIPermissionAttribute(UIPermissionClipboard.OwnClipboard)
public function DoDragDrop(
: System.Object,
: System.Windows.Forms.DragDropEffects
) : System.Windows.Forms.DragDropEffects;
[System.Security.Permissions.UIPermission(UIPermissionClipboard.OwnClipboard)]
public: System.Windows.Forms.DragDropEffects DoDragDrop(
System.Object* ,
System.Windows.Forms.DragDropEffects
)
[System.Security.Permissions.UIPermission(UIPermissionClipboard.OwnClipboard)]
public:
System.Windows.Forms.DragDropEffects DoDragDrop(
System.Object^ ,
System.Windows.Forms.DragDropEffects
)
Parameters
- data
- allowedEffects
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also