SimpleEditorView.CreatePaneWindow Method
Creates the window.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Dichiarazione
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
'Utilizzo
Dim instance As SimpleEditorView
Dim hwndParent As IntPtr
Dim x As Integer
Dim y As Integer
Dim cx As Integer
Dim cy As Integer
Dim hwnd As IntPtr
Dim returnValue As Integer
returnValue = instance.CreatePaneWindow(hwndParent, _
x, y, cx, cy, hwnd)
public abstract int CreatePaneWindow(
IntPtr hwndParent,
int x,
int y,
int cx,
int cy,
out IntPtr hwnd
)
public:
virtual int CreatePaneWindow(
IntPtr hwndParent,
int x,
int y,
int cx,
int cy,
[OutAttribute] IntPtr% hwnd
) abstract
abstract CreatePaneWindow :
hwndParent:IntPtr *
x:int *
y:int *
cx:int *
cy:int *
hwnd:IntPtr byref -> int
public abstract function CreatePaneWindow(
hwndParent : IntPtr,
x : int,
y : int,
cx : int,
cy : int,
hwnd : IntPtr
) : int
Parameters
- hwndParent
Type: System.IntPtr
A pointer to the parent window.
- x
Type: System.Int32
The absolute x ordinate.
- y
Type: System.Int32
The absolute y ordinate.
- cx
Type: System.Int32
The width of the window.
- cy
Type: System.Int32
The height of the window.
- hwnd
Type: System.IntPtr%
[out] A pointer to the new window pane.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsWindowPane.CreatePaneWindow(IntPtr, Int32, Int32, Int32, Int32, IntPtr%)
Remarks
This method should be implemented by derived classes.
.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.