Package.FindWindowPane(Type, Int32, Boolean) Method

Definition

Gets the window pane corresponding to the specified type and ID, and if no window pane of that type exists creates one if told to do so.

C++
public:
 Microsoft::VisualStudio::Shell::WindowPane ^ FindWindowPane(Type ^ toolWindowType, int id, bool create);

Parameters

toolWindowType
Type

Type of the window to be created

id
Int32

Instance ID

create
Boolean

Create if none exist?

Returns

An instance of a class derived from WindowPane

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022