IVsProfferCommands2.AddCommandBar(String, vsCommandBarType, Object, UInt32, Object) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Nur Microsoft-interne Verwendung.
Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.
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)
Parameter
- pszCmdBarName
- String
- dwType
- vsCommandBarType
- pCmdBarParent
- Object
- dwIndex
- UInt32
- ppCmdBar
- Object