共用方式為


DiagramDragEventArgs Constructor (DragEventArgs, Boolean, ElementGroupPrototype, DiagramClientView)

Initializes a new instance of the DiagramDragEventArgs class.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
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
)
public:
DiagramDragEventArgs(
    DragEventArgs^ dragEventArgs, 
    bool isDropLocationUserSpecified, 
    ElementGroupPrototype^ prototype, 
    DiagramClientView^ diagramClientView
)
new : 
        dragEventArgs:DragEventArgs * 
        isDropLocationUserSpecified:bool * 
        prototype:ElementGroupPrototype * 
        diagramClientView:DiagramClientView -> DiagramDragEventArgs
public function DiagramDragEventArgs(
    dragEventArgs : DragEventArgs, 
    isDropLocationUserSpecified : boolean, 
    prototype : ElementGroupPrototype, 
    diagramClientView : DiagramClientView
)

Parameters

  • isDropLocationUserSpecified
    Type: System.Boolean

    A value indicating whether the user specified the drop location.

.NET Framework Security

See Also

Reference

DiagramDragEventArgs Class

DiagramDragEventArgs Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace