We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

IVsUIElementPane.CreateUIElementPane Method

Creates the pane.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int CreateUIElementPane(
	out Object punkUIElement


Type: System.Object

[out] The created element.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

The environment calls this method to request the content for the frame. This may be any of the following:

The appropriate containment is generated depending on the implementation.