SequentialWorkflowRootDesigner.CanBeParentedTo Metod

Definition

Returnerar ett värde som anger om en CompositeActivity kan anges som överordnad för aktiviteten som är associerad med designern.

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

Parametrar

parentActivityDesigner
CompositeActivityDesigner

Att CompositeActivityDesigner kontrollera.

Returer

true för att tillåta att aktiviteten som är associerad med parentActivityDesigner är överordnad för aktiviteten som är associerad med SequentialWorkflowRootDesigner; annars false.

Kommentarer

Rotdesigners kan inte ha en överordnad aktivitetsdesigner på en arbetsflödesdesignyta. Om du inte åsidosätter i en ärver-klass CanBeParentedTo returnerar .false

Gäller för