SequentialWorkflowRootDesigner.CanBeParentedTo 方法

定義

回傳一個值,指示是否 CompositeActivity 可以設定為與設計者相關活動的父節點。

public:
 override bool CanBeParentedTo(System::Workflow::ComponentModel::Design::CompositeActivityDesigner ^ parentActivityDesigner);
public override bool CanBeParentedTo(System.Workflow.ComponentModel.Design.CompositeActivityDesigner parentActivityDesigner);
override this.CanBeParentedTo : System.Workflow.ComponentModel.Design.CompositeActivityDesigner -> bool
Public Overrides Function CanBeParentedTo (parentActivityDesigner As CompositeActivityDesigner) As Boolean

參數

parentActivityDesigner
CompositeActivityDesigner

CompositeActivityDesigner 檢查一下。

傳回

true允許與 parentActivityDesigner 相關的活動成為與 SequentialWorkflowRootDesigner相關活動的父;否則,。 false

備註

根設計者不能在工作流程設計表面上放置父活動設計者。 除非在繼承類別中被覆蓋,否則 CanBeParentedTo 返回 false

適用於