DocumentDesigner.EnsureMenuEditorService(IComponent) Method

Definition

Checks for the existence of a menu editor service and creates one if one does not already exist.

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)

Parameters

c
IComponent

The IComponent to ensure has a context menu service.

Applies to