WebFormsRootDesigner.CreateDesignerActionService(IServiceProvider) 方法

定义

返回一个设计时 DesignerActionService 对象。

protected:
 virtual System::ComponentModel::Design::DesignerActionService ^ CreateDesignerActionService(IServiceProvider ^ serviceProvider);
protected virtual System.ComponentModel.Design.DesignerActionService CreateDesignerActionService (IServiceProvider serviceProvider);
abstract member CreateDesignerActionService : IServiceProvider -> System.ComponentModel.Design.DesignerActionService
override this.CreateDesignerActionService : IServiceProvider -> System.ComponentModel.Design.DesignerActionService
Protected Overridable Function CreateDesignerActionService (serviceProvider As IServiceProvider) As DesignerActionService

参数

serviceProvider
IServiceProvider

设计主机(如 Visual Studio 2005)转换为 IServiceProvider

返回

设计时设计师操作服务对象。

注解

方法 CreateDesignerActionService 由控件设计器调用,并为控件设计器的操作项提供一种方法,以便通过设计主机(如 Visual Studio 2005)在 Web 窗体页中实现。

适用于

另请参阅