次の方法で共有


IVsProfferCommands4 Interface

Definition

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.

public interface class IVsProfferCommands4 : Microsoft::VisualStudio::Shell::Interop::IVsProfferCommands3
public interface class IVsProfferCommands4 : Microsoft::VisualStudio::Shell::Interop::IVsProfferCommands3
__interface IVsProfferCommands4 : Microsoft::VisualStudio::Shell::Interop::IVsProfferCommands3
[System.Runtime.InteropServices.Guid("3EDBD520-6748-43A4-8BE4-CADAB7472CF6")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProfferCommands4 : Microsoft.VisualStudio.Shell.Interop.IVsProfferCommands3
[<System.Runtime.InteropServices.Guid("3EDBD520-6748-43A4-8BE4-CADAB7472CF6")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProfferCommands4 = interface
    interface IVsProfferCommands3
Public Interface IVsProfferCommands4
Implements IVsProfferCommands3
Attributes
Implements

Methods

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, Guid[])

Adds a named command.

AddNamedCommand2(Guid, Guid, String, UInt32, String, String, String, String, UInt32, UInt32, UInt32, UInt32, 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, Guid[], UInt32)

Adds a named command.

FindCommandBar(Object, Guid, UInt32, Object)

Find the object implementing a specific command.

RemoveCommandBar(Object)

Removes a command bar.

RemoveCommandBarControl(Object)

Removes a control from a command bar.

RemoveNamedCommand(String)

Removes a named command.

RenameNamedCommand(String, String, String)

Renames a named command.

Applies to