Gets the output window pane specified by the GUID.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Shared Function GetOutputWindowPane ( _
serviceProvider As IServiceProvider, _
guidPane As Guid _
) As IVsOutputWindowPane
'使用
Dim serviceProvider As IServiceProvider
Dim guidPane As Guid
Dim returnValue As IVsOutputWindowPane
returnValue = VsShellUtilities.GetOutputWindowPane(serviceProvider, _
guidPane)
public static IVsOutputWindowPane GetOutputWindowPane(
IServiceProvider serviceProvider,
Guid guidPane
)
public:
static IVsOutputWindowPane^ GetOutputWindowPane(
IServiceProvider^ serviceProvider,
Guid guidPane
)
public static function GetOutputWindowPane(
serviceProvider : IServiceProvider,
guidPane : Guid
) : IVsOutputWindowPane
Parameters
serviceProvider
Type: System.IServiceProvider
guidPane
Type: System.GuidThe GUID of the output window pane.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane
The IVsOutputWindowPane interface specified by the GUID.
Permissions
- 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.