Share via


MenuCommandsService Class

Inheritance Hierarchy

System..::..Object
  System.Collections.ObjectModel..::..Collection< (Of < ( <'MenuCommand> ) > ) >
    Microsoft.VisualStudio.Data.Tools.SqlEditor.VSIntegration..::..MenuCommandsService

Namespace:  Microsoft.VisualStudio.Data.Tools.SqlEditor.VSIntegration
Assembly:  Microsoft.VisualStudio.Data.Tools.SqlEditor (in Microsoft.VisualStudio.Data.Tools.SqlEditor.dll)

Syntax

'Declaration
Public Class MenuCommandsService _
    Inherits Collection(Of MenuCommand) _
    Implements IDisposable, IMenuCommandService, IOleCommandTarget
'Usage
Dim instance As MenuCommandsService
public class MenuCommandsService : Collection<MenuCommand>, 
    IDisposable, IMenuCommandService, IOleCommandTarget
public ref class MenuCommandsService : public Collection<MenuCommand^>, 
    IDisposable, IMenuCommandService, IOleCommandTarget
type MenuCommandsService =  
    class
        inherit Collection<MenuCommand>
        interface IDisposable
        interface IMenuCommandService
        interface IOleCommandTarget
    end
public class MenuCommandsService extends Collection<MenuCommand> implements IDisposable, IMenuCommandService, IOleCommandTarget

The MenuCommandsService type exposes the following members.

Constructors

  Name Description
Public method MenuCommandsService() () () () Initializes a new instance of the MenuCommandsService class.
Public method MenuCommandsService(ServiceProvider) Initializes a new instance of the MenuCommandsService class.
Public method MenuCommandsService(array<MenuCommand> [] () [] []) Initializes a new instance of the MenuCommandsService class.
Public method MenuCommandsService(MenuCommandsService) Initializes a new instance of the MenuCommandsService class.

Top

Properties

  Name Description
Public property Count (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Public property Item (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Protected property Items (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)

Top

Methods

  Name Description
Public method Add (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Public method AddCommand
Public method AddRange(array<MenuCommand> [] () [] [])
Public method AddRange(MenuCommandsService)
Public method Clear (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Protected method ClearItems (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Public method Contains (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Public method CopyTo (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Public method Dispose
Public method Equals (Inherited from Object.)
Public method Exec
Protected method Finalize (Inherited from Object.)
Public method FindCommand
Public method GetEnumerator (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GlobalInvoke
Public method IndexOf (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Public method Insert (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Protected method InsertItem (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Protected method MemberwiseClone (Inherited from Object.)
Public method QueryStatus
Public method Remove (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Public method RemoveAt (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Public method RemoveCommand
Protected method RemoveItem (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Protected method SetItem (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Public method ShowContextMenu(ServiceProvider, CommandID)
Public method ShowContextMenu(CommandID, Int32, Int32)
Public method ShowContextMenu(ServiceProvider, CommandID, Int32, Int32)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IMenuCommandService..::..AddVerb
Explicit interface implemetationPrivate method IMenuCommandService..::..RemoveVerb
Explicit interface implemetationPrivate property IMenuCommandService..::..Verbs Gets {insert text here}.
Explicit interface implemetationPrivate method IList..::..Add (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Explicit interface implemetationPrivate method IList..::..Contains (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Explicit interface implemetationPrivate method ICollection..::..CopyTo (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Explicit interface implemetationPrivate method IEnumerable..::..GetEnumerator (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Explicit interface implemetationPrivate method IList..::..IndexOf (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Explicit interface implemetationPrivate method IList..::..Insert (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Explicit interface implemetationPrivate property IList..::..IsFixedSize (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Explicit interface implemetationPrivate property ICollection< (Of < <' (T> ) > > )..::..IsReadOnly (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Explicit interface implemetationPrivate property IList..::..IsReadOnly (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Explicit interface implemetationPrivate property ICollection..::..IsSynchronized (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Explicit interface implemetationPrivate property IList..::..Item (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Explicit interface implemetationPrivate method IList..::..Remove (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)
Explicit interface implemetationPrivate property ICollection..::..SyncRoot (Inherited from Collection< (Of < ( <'MenuCommand> ) > ) >.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Data.Tools.SqlEditor.VSIntegration Namespace