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 检查的。

返回

如果允许与该 活动关联的活动 父级,则为

注解

根设计器在工作流设计图面上不能有父活动设计器。 除非在继承类中重写,否则 CanBeParentedTo 返回 false

适用于