FreeformActivityDesigner.AddConnector Método

Definición

Agrega un conector a .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

Parámetros

source
ConnectionPoint

Ubicación ConnectionPoint para empezar a dibujar el conector.

target
ConnectionPoint

Ubicación ConnectionPoint para terminar de dibujar el conector.

Devoluciones

que Connector se agregó a .FreeformActivityDesigner

Excepciones

source o target contiene una referencia null (Nothing en Visual Basic).

La AssociatedDesigner propiedad de source o target contiene una null referencia (Nothing).

El actual FreeformActivityDesigner no es el contenedor para que agregue el conector.

Comentarios

AddConnectorse llama cuando un usuario agrega un Connector objeto a .FreeformActivityDesigner

Se aplica a