ToolsMenuItemBase ToolsMenuItemBase ToolsMenuItemBase Class



This API is not CLS-compliant.

CLS-compliant alternative

Implements the IMenuItem object.

public ref class ToolsMenuItemBase abstract : Microsoft::SqlServer::Management::UI::VSIntegration::ObjectExplorer::HierarchyObject, Microsoft::SqlServer::Management::UI::VSIntegration::ObjectExplorer::IMenuItem
public abstract class ToolsMenuItemBase : Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.HierarchyObject, Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.IMenuItem
Public MustInherit Class ToolsMenuItemBase
Inherits HierarchyObject
Implements IMenuItem


ToolsMenuItemBase() ToolsMenuItemBase() ToolsMenuItemBase()

Initializes a new instance of the ToolsMenuItemBase class with the default property values.

ToolsMenuItemBase(ToolsMenuItemBase) ToolsMenuItemBase(ToolsMenuItemBase) ToolsMenuItemBase(ToolsMenuItemBase)

Initializes a new instance of the ToolsMenuItemBase class with the specified source.


AccessModifiers AccessModifiers AccessModifiers

Gets the collection of the AccessModifier control.

ActionName ActionName ActionName

Gets the action name of the menu item.

Assembly Assembly Assembly

Gets or sets the assembly of the menu item.

CommandGuid CommandGuid CommandGuid

Gets the CommandID globally unique identifier (GUID) of the menu item.

ItemId ItemId ItemId

Gets the item ID of the menu item.

MenuHandler MenuHandler MenuHandler

Gets the event handler for a menu item.

Mode Mode Mode

Gets or sets the mode that is associated with the menu item.

MultiSelect MultiSelect MultiSelect

Gets or sets a value indicating whether the menu item can be multi selected.

Name Name Name

Gets the name of the menu item.

Parent Parent Parent

Gets or sets the node in the hierarchy that owns the menu item.

Text Text Text

Gets or sets the text that is associated with the menu item.

Type Type Type

Gets or sets the object type to act upon.


AddChild(String, Object) AddChild(String, Object) AddChild(String, Object)

Indicates that the menu items do not support children.

AddProperty(String, Object) AddProperty(String, Object) AddProperty(String, Object)

Sets up the default properties for the object.

Clone() Clone() Clone()

Creates a new instance of the object.

(Inherited from HierarchyObject)
Invoke() Invoke() Invoke()

When overridden in a derived class, executes a delegate on the thread that owns the control's underlying window handle.

UpdateMenuCommandStatus(MenuCommand) UpdateMenuCommandStatus(MenuCommand) UpdateMenuCommandStatus(MenuCommand)

Update the menu command status for this menu item.

Applies to