SimpleEditorView.CreatePaneWindow 方法

创建一个窗口。

命名空间:  Microsoft.VisualStudio.Package
程序集:   Microsoft.VisualStudio.Package.LanguageService.10.0(在 Microsoft.VisualStudio.Package.LanguageService.10.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.9.0(在 Microsoft.VisualStudio.Package.LanguageService.9.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.11.0(在 Microsoft.VisualStudio.Package.LanguageService.11.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService(在 Microsoft.VisualStudio.Package.LanguageService.dll 中)

语法

声明
Public MustOverride Function CreatePaneWindow ( _
    hwndParent As IntPtr, _
    x As Integer, _
    y As Integer, _
    cx As Integer, _
    cy As Integer, _
    <OutAttribute> ByRef hwnd As IntPtr _
) As Integer
public abstract int CreatePaneWindow(
    IntPtr hwndParent,
    int x,
    int y,
    int cx,
    int cy,
    out IntPtr hwnd
)

参数

  • hwnd
    类型:System.IntPtr%
    [out] 对新的窗口窗格的指针。

返回值

类型:System.Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

实现

IVsWindowPane.CreatePaneWindow(IntPtr, Int32, Int32, Int32, Int32, IntPtr%)

备注

应由派生类实现此方法。

.NET Framework 安全性

请参见

参考

SimpleEditorView 类

Microsoft.VisualStudio.Package 命名空间