EditorControl.CreatePaneWindow 方法
创建一个窗口。
命名空间: Microsoft.VisualStudio.Package
程序集: Microsoft.VisualStudio.Package.LanguageService.9.0(在 Microsoft.VisualStudio.Package.LanguageService.9.0.dll 中)
Microsoft.VisualStudio.Package.LanguageService.10.0(在 Microsoft.VisualStudio.Package.LanguageService.10.0.dll 中)
Microsoft.VisualStudio.Package.LanguageService(在 Microsoft.VisualStudio.Package.LanguageService.dll 中)
Microsoft.VisualStudio.Package.LanguageService.11.0(在 Microsoft.VisualStudio.Package.LanguageService.11.0.dll 中)
语法
声明
Public Overrides 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 override int CreatePaneWindow(
IntPtr hwndParent,
int x,
int y,
int cx,
int cy,
out IntPtr hwnd
)
参数
- hwndParent
类型:System.IntPtr
父窗口。
- x
类型:System.Int32
绝对 x 轨迹高度。
- y
类型:System.Int32
绝对 y 轨迹高度。
- cx
类型:System.Int32
x 轨迹高度相对 x。
- cy
类型:System.Int32
y 轨迹高度相对 y。
- hwnd
类型:System.IntPtr%
[out] 返回指向新的窗口窗格。
返回值
类型:System.Int32
S_OK .
实现
IVsWindowPane.CreatePaneWindow(IntPtr, Int32, Int32, Int32, Int32, IntPtr%)
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。