IVsOutputWindow3.CreatePane2 Method
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)
Syntax
'Declaration
Function CreatePane2 ( _
ByRef rguidPane As Guid, _
pszPaneName As String, _
fInitVisible As Integer, _
fClearWithSolution As Integer, _
lpszContentType As String, _
lpszTextViewRoles As String _
) As Integer
int CreatePane2(
ref Guid rguidPane,
string pszPaneName,
int fInitVisible,
int fClearWithSolution,
string lpszContentType,
string lpszTextViewRoles
)
int CreatePane2(
[InAttribute] Guid% rguidPane,
[InAttribute] String^ pszPaneName,
[InAttribute] int fInitVisible,
[InAttribute] int fClearWithSolution,
[InAttribute] String^ lpszContentType,
[InAttribute] String^ lpszTextViewRoles
)
abstract CreatePane2 :
rguidPane:Guid byref *
pszPaneName:string *
fInitVisible:int *
fClearWithSolution:int *
lpszContentType:string *
lpszTextViewRoles:string -> int
function CreatePane2(
rguidPane : Guid,
pszPaneName : String,
fInitVisible : int,
fClearWithSolution : int,
lpszContentType : String,
lpszTextViewRoles : String
) : int
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.