Condividi tramite


IVsProfferCommands2.AddCommandBar Method

Definition

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
pCmdBarParent
Object
dwIndex
UInt32
ppCmdBar
Object

Implements

Applies to