ShellExtensibility.GetToolWindow<T> Method

Definition

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.

Applies to