VsShellUtilities.GetOutputWindowPane Method
Gets the output window pane that is specified by the GUID.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
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
)
static member GetOutputWindowPane :
serviceProvider:IServiceProvider *
guidPane:Guid -> IVsOutputWindowPane
public static function GetOutputWindowPane(
serviceProvider : IServiceProvider,
guidPane : Guid
) : IVsOutputWindowPane
Parameters
- serviceProvider
Type: System.IServiceProvider
IServiceProvider.
- guidPane
Type: System.Guid
The GUID of the output window pane.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane
The IVsOutputWindowPane interface that is specified by the GUID.
.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.