Control.DoDragDropAsJson Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
DoDragDropAsJson<T>(T, DragDropEffects) | |
DoDragDropAsJson<T>(T, DragDropEffects, Bitmap, Point, Boolean) |
public:
generic <typename T>
System::Windows::Forms::DragDropEffects DoDragDropAsJson(T data, System::Windows::Forms::DragDropEffects allowedEffects);
C#
public System.Windows.Forms.DragDropEffects DoDragDropAsJson<T>(T data, System.Windows.Forms.DragDropEffects allowedEffects);
member this.DoDragDropAsJson : 'T * System.Windows.Forms.DragDropEffects -> System.Windows.Forms.DragDropEffects
Public Function DoDragDropAsJson(Of T) (data As T, allowedEffects As DragDropEffects) As DragDropEffects
Type Parameters
- T
Parameters
- data
- T
- allowedEffects
- DragDropEffects
Returns
Applies to
Windows Desktop 10
Продукт | Версії |
---|---|
Windows Desktop | 10 |
public:
generic <typename T>
System::Windows::Forms::DragDropEffects DoDragDropAsJson(T data, System::Windows::Forms::DragDropEffects allowedEffects, System::Drawing::Bitmap ^ dragImage, System::Drawing::Point cursorOffset, bool useDefaultDragImage);
C#
public System.Windows.Forms.DragDropEffects DoDragDropAsJson<T>(T data, System.Windows.Forms.DragDropEffects allowedEffects, System.Drawing.Bitmap? dragImage, System.Drawing.Point cursorOffset, bool useDefaultDragImage);
member this.DoDragDropAsJson : 'T * System.Windows.Forms.DragDropEffects * System.Drawing.Bitmap * System.Drawing.Point * bool -> System.Windows.Forms.DragDropEffects
Public Function DoDragDropAsJson(Of T) (data As T, allowedEffects As DragDropEffects, dragImage As Bitmap, cursorOffset As Point, useDefaultDragImage As Boolean) As DragDropEffects
Type Parameters
- T
Parameters
- data
- T
- allowedEffects
- DragDropEffects
- dragImage
- Bitmap
- cursorOffset
- Point
- useDefaultDragImage
- Boolean
Returns
Applies to
Windows Desktop 10
Продукт | Версії |
---|---|
Windows Desktop | 10 |
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: