MouseAction Constructor (Diagram)
Initializes a new instance of the MouseAction class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Protected Sub New ( _
diagram As Diagram _
)
protected MouseAction(
Diagram diagram
)
protected:
MouseAction(
Diagram^ diagram
)
new :
diagram:Diagram -> MouseAction
protected function MouseAction(
diagram : Diagram
)
Parameters
- diagram
Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram
The diagram where the mouse action can occur.
.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.