ActivityDesigner.CanConnect(ConnectionPoint, ConnectionPoint) 메서드

정의

현재 활동 디자이너의 지정된 연결점과 대상 활동 디자이너의 지정된 연결점 간에 연결을 만들 수 있는지 여부를 나타내는 값을 반환합니다.

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 대상 활동 디자이너를 확인할 대상입니다.

반품

true원본과 대상 간에 연결을 만들 수 있음을 나타내는 입니다. 그렇지 않으면 . false

설명

파생 클래스 CanConnect 에서 재정의되지 않는 한 항상 .true

적용 대상