IVsToolbarTrayHost.AddToolbar(Guid, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a tool bar to the tray.
public:
int AddToolbar(Guid % pGuid, System::UInt32 dwId);
public int AddToolbar (ref Guid pGuid, uint dwId);
abstract member AddToolbar : Guid * uint32 -> int
Public Function AddToolbar (ByRef pGuid As Guid, dwId As UInteger) As Integer
Parameters
- pGuid
- Guid
[in] The GUID of the tool bar to add.
- dwId
- UInt32
[in] The ID of the toolbar to add.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.