ModelingPackage.GetToolWindow 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.
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.