Export (0) Print
Expand All

IMenuItem Interface

Represents the menu items that can be added to the DefaultMenuHandler class.

This API is not CLS-compliant. The CLS-compliant alternative is [false].

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer
Assembly:  SqlWorkbench.Interfaces (in SqlWorkbench.Interfaces.dll)

public interface IMenuItem

The IMenuItem type exposes the following members.

Public propertyCommandGuidGets the CommandID globally unique identifier (GUID) for the menu command.
Public propertyItemIdGets the CommandID of the specific item for the menu command.
Public propertyMenuHandlerGets the event handler for the menu item.
Public propertyMultiSelectGets a value indicating whether the menu item supports the MultiSelect.
Public propertyNameGets the name of the command.
Public propertyParentGets or sets the parent node in the hierarchy.
Public propertyTextGets the caption that is associated with the command.

Public methodUpdateMenuCommandStatusIndicates the update of the menu command status for the menu item.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft