ShellExtensibility.GetToolWindow<T> 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.
Gets the tool window of the given type.
public Microsoft.VisualStudio.Extensibility.ToolWindows.ToolWindow? GetToolWindow<T> () where T : Microsoft.VisualStudio.Extensibility.ToolWindows.ToolWindow;
member this.GetToolWindow : unit -> Microsoft.VisualStudio.Extensibility.ToolWindows.ToolWindow (requires 'T :> Microsoft.VisualStudio.Extensibility.ToolWindows.ToolWindow)
Public Function GetToolWindow(Of T As ToolWindow) () As ToolWindow
Type Parameters
- T
The type of the tool window.
Returns
The tool window matching the given type or null if not found.