IVsOutputWindow3.CreatePane2 Method

Definition

Creates an output window pane with the specified content type and text view roles. For more information about content types and text view roles, see Language Service and Editor Extension Points.

public:
 int CreatePane2(Guid % rguidPane, System::String ^ pszPaneName, int fInitVisible, int fClearWithSolution, System::String ^ lpszContentType, System::String ^ lpszTextViewRoles);
public int CreatePane2 (ref Guid rguidPane, string pszPaneName, int fInitVisible, int fClearWithSolution, string lpszContentType, string lpszTextViewRoles);
abstract member CreatePane2 : Guid * string * int * int * string * string -> int
Public Function CreatePane2 (ByRef rguidPane As Guid, pszPaneName As String, fInitVisible As Integer, fClearWithSolution As Integer, lpszContentType As String, lpszTextViewRoles As String) As Integer

Parameters

rguidPane
Guid

[in] The GUID of the pane to create.

pszPaneName
String

[in] The name of the pane.

fInitVisible
Int32

[in] true if the pane should be visible.

fClearWithSolution
Int32

[in] true if the pane should be removed when the solution is closed.

lpszContentType
String

The content type.

lpszTextViewRoles
String

The text view roles.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to