IToolWindowProvider.GetToolWindow(Type, Boolean) 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.
Returns the tool window instance corresponding to the given type. We only support single-instance tool windows, so this will always be a 1-1 mapping.
public:
Microsoft::VisualStudio::Modeling::Shell::ToolWindow ^ GetToolWindow(Type ^ toolWindowType, bool forceCreate);
public Microsoft.VisualStudio.Modeling.Shell.ToolWindow GetToolWindow (Type toolWindowType, bool forceCreate);
abstract member GetToolWindow : Type * bool -> Microsoft.VisualStudio.Modeling.Shell.ToolWindow
Public Function GetToolWindow (toolWindowType As Type, forceCreate As Boolean) As ToolWindow
Parameters
- toolWindowType
- Type
Type of tool window to retrieve
- forceCreate
- Boolean
True if tool window should be created if it hasn't been already.
Returns
Tool window of toolWindowType
type