DiagramDragEventArgs, constructeur (DragEventArgs, Boolean, ElementGroupPrototype, DiagramClientView)
Initialise une nouvelle instance de la classe de DiagramDragEventArgs.
Espace de noms : Microsoft.VisualStudio.Modeling.Diagrams
Assembly : Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (dans Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntaxe
'Déclaration
Public Sub New ( _
dragEventArgs As DragEventArgs, _
isDropLocationUserSpecified As Boolean, _
prototype As ElementGroupPrototype, _
diagramClientView As DiagramClientView _
)
public DiagramDragEventArgs(
DragEventArgs dragEventArgs,
bool isDropLocationUserSpecified,
ElementGroupPrototype prototype,
DiagramClientView diagramClientView
)
Paramètres
- dragEventArgs
Type : System.Windows.Forms.DragEventArgs
Le DragEventArgs qui sera utilisé pour initialiser cette instance.
- isDropLocationUserSpecified
Type : System.Boolean
Une valeur indiquant si l'utilisateur a spécifié l'emplacement cible.
- prototype
Type : Microsoft.VisualStudio.Modeling.ElementGroupPrototype
L'ElementGroupPrototype (le cas échéant) dans l'objet de données.
- diagramClientView
Type : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
Le DiagramClientView dont le DiagramDragEventArgs provient.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.