IVsProfferCommands2.AddNamedCommand2(Guid, Guid, String, UInt32, String, String, String, String, UInt32, UInt32, UInt32, UInt32, Guid, UInt32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
À usage interne Microsoft uniquement.
Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.
public:
void AddNamedCommand2(Guid % pguidPackage, Guid % pguidCmdGroup, System::String ^ pszCmdNameCanonical, [Runtime::InteropServices::Out] System::UInt32 % pdwCmdId, System::String ^ pszCmdNameLocalized, System::String ^ pszBtnText, System::String ^ pszCmdTooltip, System::String ^ pszSatelliteDLL, System::UInt32 dwBitmapResourceId, System::UInt32 dwBitmapImageIndex, System::UInt32 dwCmdFlagsDefault, System::UInt32 cUIContexts, Guid % rgguidUIContexts, System::UInt32 dwUIElementType);
public void AddNamedCommand2 (ref Guid pguidPackage, ref Guid pguidCmdGroup, string pszCmdNameCanonical, out uint pdwCmdId, string pszCmdNameLocalized, string pszBtnText, string pszCmdTooltip, string pszSatelliteDLL, uint dwBitmapResourceId, uint dwBitmapImageIndex, uint dwCmdFlagsDefault, uint cUIContexts, ref Guid rgguidUIContexts, uint dwUIElementType);
abstract member AddNamedCommand2 : Guid * Guid * string * uint32 * string * string * string * string * uint32 * uint32 * uint32 * uint32 * Guid * uint32 -> unit
Public Sub AddNamedCommand2 (ByRef pguidPackage As Guid, ByRef pguidCmdGroup As Guid, pszCmdNameCanonical As String, ByRef pdwCmdId As UInteger, pszCmdNameLocalized As String, pszBtnText As String, pszCmdTooltip As String, pszSatelliteDLL As String, dwBitmapResourceId As UInteger, dwBitmapImageIndex As UInteger, dwCmdFlagsDefault As UInteger, cUIContexts As UInteger, ByRef rgguidUIContexts As Guid, dwUIElementType As UInteger)
Paramètres
- pguidPackage
- Guid
- pguidCmdGroup
- Guid
- pszCmdNameCanonical
- String
- pdwCmdId
- UInt32
- pszCmdNameLocalized
- String
- pszBtnText
- String
- pszCmdTooltip
- String
- pszSatelliteDLL
- String
- dwBitmapResourceId
- UInt32
- dwBitmapImageIndex
- UInt32
- dwCmdFlagsDefault
- UInt32
- cUIContexts
- UInt32
- rgguidUIContexts
- Guid
- dwUIElementType
- UInt32