DocumentDesigner.EnsureMenuEditorService(IComponent) 方法

定义

检查是否存在菜单编辑器服务,如果尚未存在,则创建一个。

protected:
 virtual void EnsureMenuEditorService(System::ComponentModel::IComponent ^ c);
protected virtual void EnsureMenuEditorService (System.ComponentModel.IComponent c);
abstract member EnsureMenuEditorService : System.ComponentModel.IComponent -> unit
override this.EnsureMenuEditorService : System.ComponentModel.IComponent -> unit
Protected Overridable Sub EnsureMenuEditorService (c As IComponent)

参数

c
IComponent

IComponent,要确保具有上下文菜单服务。

适用于