共用方式為


IVsProfferCommands2.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
pCmdBarParent
Object
dwIndex
UInt32
dwCmdType
UInt32
ppCmdBarCtrl
Object

Implements

Applies to