IVsOutputWindow3::CreatePane2 Method (Guid, String^, Int32, Int32, String^, String^)

 

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 Editor Extension Points.

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

int CreatePane2(
	[InAttribute] Guid% rguidPane,
	String^ pszPaneName,
	int fInitVisible,
	int fClearWithSolution,
	String^ lpszContentType,
	String^ lpszTextViewRoles
)

Parameters

rguidPane
Type: System::Guid

[in] The GUID of the pane to create.

pszPaneName
Type: System::String^

[in] The name of the pane.

fInitVisible
Type: System::Int32

[in] true if the pane should be visible.

fClearWithSolution
Type: System::Int32

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

lpszContentType
Type: System::String^

The content type.

lpszTextViewRoles
Type: System::String^

The text view roles.

Return Value

Type: System::Int32

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

Return to top
Show: