IVsProfferCommands.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
 
The name of the command bar.
- dwType
 - vsCommandBarType
 
The vsCommandBarType.
- pCmdBarParent
 - Object
 
The parent of the command bar.
- dwIndex
 - UInt32
 
The index of the command bar.
- ppCmdBar
 - Object
 
[out] The command bar.