編集

次の方法で共有


FreeformActivityDesigner.AddConnector Method

Definition

Adds a connector to the FreeformActivityDesigner.

public:
 System::Workflow::ComponentModel::Design::Connector ^ AddConnector(System::Workflow::ComponentModel::Design::ConnectionPoint ^ source, System::Workflow::ComponentModel::Design::ConnectionPoint ^ target);
public System.Workflow.ComponentModel.Design.Connector AddConnector(System.Workflow.ComponentModel.Design.ConnectionPoint source, System.Workflow.ComponentModel.Design.ConnectionPoint target);
member this.AddConnector : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> System.Workflow.ComponentModel.Design.Connector
Public Function AddConnector (source As ConnectionPoint, target As ConnectionPoint) As Connector

Parameters

source
ConnectionPoint

The ConnectionPoint ___location to begin drawing the connector.

target
ConnectionPoint

The ConnectionPoint ___location to finish drawing the connector.

Returns

The Connector that was added to the FreeformActivityDesigner.

Exceptions

source or target contains a null reference (Nothing in Visual Basic).

The AssociatedDesigner property for source or target contains a null reference (Nothing).

The current FreeformActivityDesigner is not the container for the connector to add.

Remarks

AddConnector is called when a user adds a Connector to the FreeformActivityDesigner.

Applies to