FreeformActivityDesigner.AddConnector 메서드

정의

에 커넥터를 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

매개 변수

source
ConnectionPoint

ConnectionPoint 커넥터 그리기를 시작할 위치입니다.

target
ConnectionPoint

ConnectionPoint 연결선 그리기를 완료할 위치입니다.

반품

Connector 추가된 것입니다 FreeformActivityDesigner.

예외

source 또는 target에는 null 참조(Visual Basic Nothing)가 포함됩니다.

참조(AssociatedDesigner)에 대한 source 속성이거나 target 포함됩니다null.Nothing

현재 FreeformActivityDesigner 는 커넥터가 추가할 컨테이너가 아닙니다.

설명

AddConnector 는 사용자가 .에 추가할 Connector 때 호출됩니다 FreeformActivityDesigner.

적용 대상