ConnectAction Constructor
Initializes a new instance of the ConnectAction class
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
'Declaration
Protected Sub New ( _
diagram As Diagram, _
permitClick As Boolean _
)
protected ConnectAction(
Diagram diagram,
bool permitClick
)
protected:
ConnectAction(
Diagram^ diagram,
bool permitClick
)
new :
diagram:Diagram *
permitClick:bool -> ConnectAction
protected function ConnectAction(
diagram : Diagram,
permitClick : boolean
)
diagram
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramDiagram that this mouse action belongs to
permitClick
Type: System.Booleantrue if click-connect capability should be enabled.
- 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.