ToolsMenuItemBase Class

Definition

Important

This API is not CLS-compliant.

Implements the IMenuItem object.

public ref class ToolsMenuItemBase abstract : Microsoft::SqlServer::Management::UI::VSIntegration::ObjectExplorer::HierarchyObject, Microsoft::SqlServer::Management::UI::VSIntegration::ObjectExplorer::IMenuItem
[System.CLSCompliant(false)]
public abstract class ToolsMenuItemBase : Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.HierarchyObject, Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.IMenuItem
[<System.CLSCompliant(false)>]
type ToolsMenuItemBase = class
    inherit HierarchyObject
    interface IMenuItem
Public MustInherit Class ToolsMenuItemBase
Inherits HierarchyObject
Implements IMenuItem
Inheritance
ToolsMenuItemBase
Attributes
Implements

Constructors

ToolsMenuItemBase()

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

ToolsMenuItemBase(ToolsMenuItemBase)

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

Properties

AccessModifiers

Gets the collection of the AccessModifier control.

ActionName

Gets the action name of the menu item.

Assembly

Gets or sets the assembly of the menu item.

CommandGuid

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

ItemId

Gets the item ID of the menu item.

MenuHandler

Gets the event handler for a menu item.

Mode

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

MultiSelect

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

Name

Gets the name of the menu item.

Parent

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

Text

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

Type

Gets or sets the object type to act upon.

Methods

AddChild(String, Object)

Indicates that the menu items do not support children.

AddProperty(String, Object)

Sets up the default properties for the object.

Clone()

Creates a new instance of the object.

(Inherited from HierarchyObject)
Invoke()

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

UpdateMenuCommandStatus(MenuCommand)

Update the menu command status for this menu item.

Applies to