IVsToolbarTrayHost::AddToolbar Method (Guid, UInt32)
Visual Studio 2015
Adds a tool bar to the tray.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Parameters
- pGuid
-
Type:
System::Guid
[in] The GUID of the tool bar to add.
- dwId
-
Type:
System::UInt32
[in] The ID of the toolbar to add.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: