共用方式為


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,確保有內容功能表服務。

適用於