Export (0) Print
Expand All
Expand Minimize

ActivityDesigner.CanConnect Method

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.

Namespace: System.Workflow.ComponentModel.Design
Assembly: System.Workflow.ComponentModel (in system.workflow.componentmodel.dll)

protected virtual bool CanConnect (
	ConnectionPoint source,
	ConnectionPoint target
)
protected boolean CanConnect (
	ConnectionPoint source, 
	ConnectionPoint target
)
protected function CanConnect (
	source : ConnectionPoint, 
	target : ConnectionPoint
) : boolean
Not applicable.

Parameters

source

The ConnectionPoint to check on the current activity designer.

target

The ConnectionPoint to check on the target activity designer.

Return Value

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

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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft