IVsOutputWindow.GetPane(Guid, IVsOutputWindowPane) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个输出窗口窗格,其标识 GUID 为。
public:
int GetPane(Guid % rguidPane, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane ^ % ppPane);
public int GetPane (ref Guid rguidPane, out Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane ppPane);
abstract member GetPane : Guid * IVsOutputWindowPane -> int
Public Function GetPane (ByRef rguidPane As Guid, ByRef ppPane As IVsOutputWindowPane) As Integer
参数
- rguidPane
- Guid
中标识 "输出" 窗口窗格。
- ppPane
- IVsOutputWindowPane
弄指向所 IVsOutputWindowPane 请求的输出窗口窗格的的指针。 null如果请求的窗格不存在,则返回。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell:
HRESULT IVsOutputWindow::GetPane(
[in] REFGUID rguidPane,
[out] IVsOutputWindowPane **ppPane
);
IVsOutputWindowPane接口允许 VSPackage 操作特定的输出窗口窗格。