Share via


IVsProfferCommands4 Interface

Allows the implementer to specify a new command's image using IPicture, Bitmap, or Icon. Implemented by the Visual Studio shell, and obtained via the SVsProfferCommands service.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
<GuidAttribute("3EDBD520-6748-43A4-8BE4-CADAB7472CF6")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsProfferCommands4 _
    Inherits IVsProfferCommands3
[GuidAttribute("3EDBD520-6748-43A4-8BE4-CADAB7472CF6")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProfferCommands4 : IVsProfferCommands3
[GuidAttribute(L"3EDBD520-6748-43A4-8BE4-CADAB7472CF6")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsProfferCommands4 : IVsProfferCommands3
[<GuidAttribute("3EDBD520-6748-43A4-8BE4-CADAB7472CF6")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProfferCommands4 =  
    interface 
        interface IVsProfferCommands3 
    end
public interface IVsProfferCommands4 extends IVsProfferCommands3

The IVsProfferCommands4 type exposes the following members.

Methods

  Name Description
Public method AddCommandBar Adds a command bar to the user interface.
Public method AddCommandBarControl Adds a control to a command bar.
Public method AddNamedCommand Adds a named command.
Public method AddNamedCommand2 Adds a named command. This version has a parameter that specifies a UI element.
Public method AddNamedCommand3 Adds a named command.
Public method FindCommandBar Find the object implementing a specific command.
Public method RemoveCommandBar Removes a command bar.
Public method RemoveCommandBarControl Removes a control from a command bar.
Public method RemoveNamedCommand Removes a named command.
Public method RenameNamedCommand Renames a named command.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace