Partager via


ToolWindowProvider.GetToolWindow(String) Method

Definition

Gets the tool window for the given identifier.

protected Microsoft.VisualStudio.Extensibility.ToolWindows.ToolWindow GetToolWindow (string identifier);
member this.GetToolWindow : string -> Microsoft.VisualStudio.Extensibility.ToolWindows.ToolWindow
Protected Function GetToolWindow (identifier As String) As ToolWindow

Parameters

identifier
String

The tool window identifier.

Returns

The tool window matching the identifier.

Exceptions

Thrown if the identifier doesn't match a registered tool window.

Applies to