Package.IVsToolWindowFactory.CreateToolWindow(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.
Creates a tool window of the specified type with the specified ID.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid % toolWindowType, System::UInt32 id) = Microsoft::VisualStudio::Shell::Interop::IVsToolWindowFactory::CreateToolWindow;
int IVsToolWindowFactory.CreateToolWindow (ref Guid toolWindowType, uint id);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow : Guid * uint32 -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow : Guid * uint32 -> int
Function CreateToolWindow (ByRef toolWindowType As Guid, id As UInteger) As Integer Implements IVsToolWindowFactory.CreateToolWindow
Parameters
- toolWindowType
- Guid
Type of the window to be created
- id
- UInt32
Instance ID or 0 for single instance toolwindows
Returns
HRESULT for toolwindow creation