Bahasa

SequentialWorkflowRootDesigner.CanBeParentedTo Metode

Definisi

Mengembalikan nilai yang menunjukkan apakah CompositeActivity dapat ditetapkan sebagai induk aktivitas yang terkait dengan perancang.

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

Parameter

parentActivityDesigner
CompositeActivityDesigner

Yang CompositeActivityDesigner harus diperiksa.

Mengembalikan

true untuk memungkinkan aktivitas yang terkait dengan parentActivityDesigner menjadi induk aktivitas yang terkait dengan SequentialWorkflowRootDesigner; jika tidak, false.

Keterangan

Perancang akar tidak dapat memiliki perancang aktivitas induk pada permukaan desain alur kerja. Kecuali ditimpa dalam kelas pewarisan, CanBeParentedTo mengembalikan false.

Berlaku untuk