FreeformActivityDesigner.AddConnector Metoda

Definice

Přidá ke spojnici 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

Parametry

source
ConnectionPoint

Umístění ConnectionPoint pro zahájení kreslení spojnice.

target
ConnectionPoint

Umístění ConnectionPoint pro dokončení kreslení spojnice.

Návraty

To Connector bylo přidáno do FreeformActivityDesigner.

Výjimky

source nebo target obsahuje odkaz null (Nothing v Visual Basic).

Vlastnost AssociatedDesigner nebo sourcetarget obsahuje null odkaz (Nothing).

Aktuální FreeformActivityDesigner není kontejner pro přidání konektoru.

Poznámky

AddConnectorje volána, když uživatel přidá Connector do .FreeformActivityDesigner

Platí pro