Partager via


ModelingPackage.GetToolWindow Method

Definition

Overloads

GetToolWindow(Type)

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.

GetToolWindow(Type, Boolean)

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.

GetToolWindow(Type)

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);
public Microsoft.VisualStudio.Modeling.Shell.ToolWindow GetToolWindow (Type toolWindowType);
member this.GetToolWindow : Type -> Microsoft.VisualStudio.Modeling.Shell.ToolWindow
Public Function GetToolWindow (toolWindowType As Type) As ToolWindow

Parameters

toolWindowType
Type

Returns

Applies to

GetToolWindow(Type, Boolean)

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:
 virtual Microsoft::VisualStudio::Modeling::Shell::ToolWindow ^ GetToolWindow(Type ^ toolWindowType, bool forceCreate);
public Microsoft.VisualStudio.Modeling.Shell.ToolWindow GetToolWindow (Type toolWindowType, bool forceCreate);
member this.GetToolWindow : Type * bool -> Microsoft.VisualStudio.Modeling.Shell.ToolWindow
abstract member GetToolWindow : Type * bool -> Microsoft.VisualStudio.Modeling.Shell.ToolWindow
override this.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

Implements

Applies to