ConnectAction Constructor
Initializes a new instance of the ConnectAction class
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'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
)
Parameters
diagram
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramDiagram that this mouse action belongs to
permitClick
Type: Booleantrue if click-connect capability should be enabled.
.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.