DiagramItemEventArgs Constructor
Initializes a new instance of the DiagramItemEventArgs 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 ( _
diagramItem As DiagramItem, _
diagramClientView As DiagramClientView _
)
public DiagramItemEventArgs(
DiagramItem diagramItem,
DiagramClientView diagramClientView
)
public:
DiagramItemEventArgs(
DiagramItem^ diagramItem,
DiagramClientView^ diagramClientView
)
new :
diagramItem:DiagramItem *
diagramClientView:DiagramClientView -> DiagramItemEventArgs
public function DiagramItemEventArgs(
diagramItem : DiagramItem,
diagramClientView : DiagramClientView
)
Parameters
diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemThe DiagramItem of interest.
diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe view that the EventArgs is originating from.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.