ActivityDesigner.CanConnect(ConnectionPoint, ConnectionPoint) Method

Definition

Returns a value that indicates whether a connection can be created between the specified connection point on the current activity designer and the specified connection point on a target activity designer.

C#
protected virtual bool CanConnect(System.Workflow.ComponentModel.Design.ConnectionPoint source, System.Workflow.ComponentModel.Design.ConnectionPoint target);

Parameters

source
ConnectionPoint

The ConnectionPoint to check on the current activity designer.

target
ConnectionPoint

The ConnectionPoint to check on the target activity designer.

Returns

true to indicate that a connection can be created between source and target; otherwise, false.

Remarks

Unless overridden in a derived class, CanConnect always returns true.

Applies to

Produkt Verzie
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1