共用方式為


DiagramItemEventArgs(DiagramItem, DiagramClientView) Constructor

Definition

Initializes a new instance of the DiagramItemEventArgs class.

public:
 DiagramItemEventArgs(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ diagramItem, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ diagramClientView);
public DiagramItemEventArgs (Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem diagramItem, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView diagramClientView);
new Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemEventArgs : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemEventArgs
Public Sub New (diagramItem As DiagramItem, diagramClientView As DiagramClientView)

Parameters

diagramItem
DiagramItem

The DiagramItem of interest.

diagramClientView
DiagramClientView

The view that the EventArgs is originating from.

Applies to