Freigeben über


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.

public:
 Microsoft::VisualStudio::Shell::WindowPane ^ FindWindowPane(Type ^ toolWindowType, int id, bool create);
public Microsoft.VisualStudio.Shell.WindowPane FindWindowPane (Type toolWindowType, int id, bool create);
member this.FindWindowPane : Type * int * bool -> Microsoft.VisualStudio.Shell.WindowPane
Public Function FindWindowPane (toolWindowType As Type, id As Integer, create As Boolean) As WindowPane

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