MenuCommandsService Class

Definition

public ref class MenuCommandsService : System::Collections::CollectionBase, IDisposable, Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget, System::ComponentModel::Design::IMenuCommandService
public class MenuCommandsService : System.Collections.CollectionBase, IDisposable, Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget, System.ComponentModel.Design.IMenuCommandService
type MenuCommandsService = class
    inherit CollectionBase
    interface IDisposable
    interface IMenuCommandService
    interface IOleCommandTarget
Public Class MenuCommandsService
Inherits CollectionBase
Implements IDisposable, IMenuCommandService, IOleCommandTarget
Inheritance
MenuCommandsService
Implements

Constructors

MenuCommandsService()
MenuCommandsService(MenuCommand[])
MenuCommandsService(MenuCommandsService)
MenuCommandsService(ServiceProvider)

Fields

m_cachedServiceProvider

Properties

Item[Int32]

Methods

Add(MenuCommand)
AddCommand(MenuCommand)
AddRange(MenuCommand[])
AddRange(MenuCommandsService)
Contains(MenuCommand)
CopyTo(MenuCommand[], Int32)
Dispose()
Exec(Guid, UInt32, UInt32, IntPtr, IntPtr)
FindCommand(CommandID)
GlobalInvoke(CommandID)
IndexOf(MenuCommand)
Insert(Int32, MenuCommand)
QueryStatus(Guid, UInt32, OLECMD[], IntPtr)
Remove(MenuCommand)
RemoveCommand(MenuCommand)
ShowContextMenu(CommandID, Int32, Int32)
ShowContextMenu(ServiceProvider, CommandID)
ShowContextMenu(ServiceProvider, CommandID, Int32, Int32)

Explicit Interface Implementations

IMenuCommandService.AddVerb(DesignerVerb)
IMenuCommandService.RemoveVerb(DesignerVerb)
IMenuCommandService.Verbs

Applies to