DiagramItemEventArgs Constructor
Initializes a new instance of the DiagramItemEventArgs class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
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.DiagramItem
The DiagramItem of interest.
- diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The 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.