ActivityDesigner.CanConnect(ConnectionPoint, ConnectionPoint) 메서드

정의

현재 디자이너의 지정된 연결 지점 및 대상 Activity Designer의 지정된 연결 지점 사이 연결을 만들 수 있는지 여부를 나타내는 값을 반환합니다.

protected:
 virtual bool CanConnect(System::Workflow::ComponentModel::Design::ConnectionPoint ^ source, System::Workflow::ComponentModel::Design::ConnectionPoint ^ target);
protected virtual bool CanConnect (System.Workflow.ComponentModel.Design.ConnectionPoint source, System.Workflow.ComponentModel.Design.ConnectionPoint target);
abstract member CanConnect : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> bool
override this.CanConnect : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> bool
Protected Overridable Function CanConnect (source As ConnectionPoint, target As ConnectionPoint) As Boolean

매개 변수

source
ConnectionPoint

현재 활동 디자이너에서 확인할 ConnectionPoint입니다.

target
ConnectionPoint

대상 활동 디자이너에서 확인할 ConnectionPoint입니다.

반환

Boolean

소스 및 대상 사이에서 연결을 만들 수 있음을 나타내려면 true이고, 그렇지 않으면 false입니다.

설명

파생 클래스에서 재정의되지 않는 한 CanConnect는 항상 true를 반환합니다.

적용 대상