Partager via


IVsProfferCommands.AddCommandBarControl 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 AddCommandBarControl(System::String ^ pszCmdNameCanonical, System::Object ^ pCmdBarParent, System::UInt32 dwIndex, System::UInt32 dwCmdType, [Runtime::InteropServices::Out] System::Object ^ % ppCmdBarCtrl);
void AddCommandBarControl(std::wstring const & pszCmdNameCanonical, winrt::Windows::Foundation::IInspectable const & pCmdBarParent, unsigned int dwIndex, unsigned int dwCmdType, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & ppCmdBarCtrl);
public void AddCommandBarControl (string pszCmdNameCanonical, object pCmdBarParent, uint dwIndex, uint dwCmdType, out object ppCmdBarCtrl);
abstract member AddCommandBarControl : string * obj * uint32 * uint32 * obj -> unit
Public Sub AddCommandBarControl (pszCmdNameCanonical As String, pCmdBarParent As Object, dwIndex As UInteger, dwCmdType As UInteger, ByRef ppCmdBarCtrl As Object)

Parameters

pszCmdNameCanonical
String

The name of the command.

pCmdBarParent
Object

The parent of the command bar.

dwIndex
UInt32

The index of the command bar.

dwCmdType
UInt32

The type of the command.

ppCmdBarCtrl
Object

[out] The command bar control.

Applies to