ConnectAction Constructor
Initializes a new instance of the ConnectAction class
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
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.Diagram
Diagram that this mouse action belongs to
- permitClick
Type: System.Boolean
true 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.