Share via


IToolWindowProvider.GetToolWindow(Type, Boolean) Method

Definition

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

Applies to