IVsProfferCommands::AddNamedCommand Method (Guid, Guid, String^, UInt32, String^, String^, String^, String^, UInt32, UInt32, UInt32, UInt32, Guid)
Visual Studio 2015
This API supports the product infrastructure and is not intended to be used directly from your code.
Microsoft Internal Use Only.
Assembly: EnvDTE (in EnvDTE.dll)
void AddNamedCommand( [InAttribute] Guid% pguidPackage, [InAttribute] Guid% pguidCmdGroup, String^ pszCmdNameCanonical, [OutAttribute] unsigned int% pdwCmdId, String^ pszCmdNameLocalized, String^ pszBtnText, String^ pszCmdTooltip, String^ pszSatelliteDLL, unsigned int dwBitmapResourceId, unsigned int dwBitmapImageIndex, unsigned int dwCmdFlagsDefault, unsigned int cUIContexts, [InAttribute] Guid% rgguidUIContexts )
Parameters
- pguidPackage
-
Type:
System::Guid
The GUID of the package.
- pguidCmdGroup
-
Type:
System::Guid
The GUID of the command group.
- pszCmdNameCanonical
-
Type:
System::String^
The name of the command.
- pdwCmdId
-
Type:
System::UInt32
The command ID of the command.
- pszCmdNameLocalized
-
Type:
System::String^
The localized name of the command.
- pszBtnText
-
Type:
System::String^
The button text.
- pszCmdTooltip
-
Type:
System::String^
The tooltip information about the command.
- pszSatelliteDLL
-
Type:
System::String^
The name of the satellite assembly.
- dwBitmapResourceId
-
Type:
System::UInt32
The bitmap resource ID.
- dwBitmapImageIndex
-
Type:
System::UInt32
The index of the bitmap resource.
- dwCmdFlagsDefault
-
Type:
System::UInt32
The default flags.
- cUIContexts
-
Type:
System::UInt32
The UI contexts.
- rgguidUIContexts
-
Type:
System::Guid
The GUID of the UI contexts.
Show: