IVsProfferCommands2.AddCommandBar Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Microsoft Internal Use Only.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
void AddCommandBar(System::String ^ pszCmdBarName, EnvDTE::vsCommandBarType dwType, System::Object ^ pCmdBarParent, System::UInt32 dwIndex, [Runtime::InteropServices::Out] System::Object ^ % ppCmdBar);
void AddCommandBar(std::wstring const & pszCmdBarName, EnvDTE::vsCommandBarType dwType, winrt::Windows::Foundation::IInspectable const & pCmdBarParent, unsigned int dwIndex, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & ppCmdBar);
public void AddCommandBar (string pszCmdBarName, EnvDTE.vsCommandBarType dwType, object pCmdBarParent, uint dwIndex, out object ppCmdBar);
abstract member AddCommandBar : string * EnvDTE.vsCommandBarType * obj * uint32 * obj -> unit
Public Sub AddCommandBar (pszCmdBarName As String, dwType As vsCommandBarType, pCmdBarParent As Object, dwIndex As UInteger, ByRef ppCmdBar As Object)
Parameters
- pszCmdBarName
- String
- dwType
- vsCommandBarType
- pCmdBarParent
- Object
- dwIndex
- UInt32
- ppCmdBar
- Object