This documentation is archived and is not being maintained.
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)
[GuidAttribute("3EDBD520-6748-43A4-8BE4-CADAB7472CF6" )]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsProfferCommands4 : IVsProfferCommands3
Name Description AddCommandBar(String^, UInt32, Object^, UInt32, Object^) Adds a command bar to the user interface.
AddCommandBarControl(String^, Object^, UInt32, UInt32, Object^) Adds a control to a command bar.
AddNamedCommand(Guid, Guid, String^, UInt32, String^, String^, String^, String^, UInt32, UInt32, UInt32, UInt32, array<Guid>^) AddNamedCommand2(Guid, Guid, String^, UInt32, String^, String^, String^, String^, UInt32, UInt32, UInt32, UInt32, array<Guid>^, UInt32) Adds a named command. This version has a parameter that specifies a UI element.
AddNamedCommand3(Guid, Guid, String^, UInt32, String^, String^, String^, Object^, UInt32, UInt32, array<Guid>^, UInt32) FindCommandBar(Object^, Guid, UInt32, Object^) Find the object implementing a specific command.
RemoveCommandBar(Object^) RemoveCommandBarControl(Object^) Removes a control from a command bar.
RemoveNamedCommand(String^) RenameNamedCommand(String^, String^, String^)
Return to top