Language

IMenuHandler Interface

Definition

Important

This API is not CLS-compliant.

Provides context menu handling for the object explorer.

public interface class IMenuHandler
[System.CLSCompliant(false)]
public interface IMenuHandler
[<System.CLSCompliant(false)>]
type IMenuHandler = interface
Public Interface IMenuHandler
Derived
Attributes

Properties

Name Description
ContextMenuID

Gets the command ID of the context menu.

Parent

Gets or sets the parent node in the hierarchy.

Methods

Name Description
DoDefaultAction()

Invokes the default menu item.

FillMenuCommands(IMenuCommandService)

Populates the MenuCommandService with the menu items.

InvokeProperties()

Invokes the properties menu item.

UpdateMenuCommandsStatus(MenuCommand)

Updates the status of the command.

Events

Name Description
OnRefresh

Occurs when the event handler is refreshed.

Applies to