ActivityDesigner.GetRootDesigner(IServiceProvider) 方法
定义
返回与工作流的设计图面关联的设计器。Returns the designer associated with the design surface of the workflow.
public:
static System::Workflow::ComponentModel::Design::ActivityDesigner ^ GetRootDesigner(IServiceProvider ^ serviceProvider);
public static System.Workflow.ComponentModel.Design.ActivityDesigner GetRootDesigner (IServiceProvider serviceProvider);
static member GetRootDesigner : IServiceProvider -> System.Workflow.ComponentModel.Design.ActivityDesigner
Public Shared Function GetRootDesigner (serviceProvider As IServiceProvider) As ActivityDesigner
参数
- serviceProvider
- IServiceProvider
实现 IServiceProvider 的对象。An object that implements the IServiceProvider.
返回
一个 ActivityDesigner,它是设计器宿主的 RootComponent。An ActivityDesigner that is the RootComponent of the designer host.