Package.FindWindowPane Method
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.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Function FindWindowPane ( _
toolWindowType As Type, _
id As Integer, _
create As Boolean _
) As WindowPane
public WindowPane FindWindowPane(
Type toolWindowType,
int id,
bool create
)
public:
WindowPane^ FindWindowPane(
Type^ toolWindowType,
int id,
bool create
)
member FindWindowPane :
toolWindowType:Type *
id:int *
create:bool -> WindowPane
public function FindWindowPane(
toolWindowType : Type,
id : int,
create : boolean
) : WindowPane
Parameters
toolWindowType
Type: TypeThe type of the window to be created.
id
Type: Int32The instance ID.
create
Type: Booleantrue to create a window pane if none exists, otherwise false.
Return Value
Type: Microsoft.VisualStudio.Shell.WindowPane
The WindowPane.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.