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)

public WindowPane FindWindowPane(
	Type toolWindowType,
	int id,
	bool create
)

Parameters

toolWindowType
Type: System.Type

The type of the window to be created.

id
Type: System.Int32

The instance ID.

create
Type: System.Boolean

true to create a window pane if none exists, otherwise false.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft