IVsOutputWindow3::CreatePane2 Method (Guid, String^, Int32, Int32, String^, String^)
Visual Studio 2015
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.
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::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: