Udostępnij za pośrednictwem


WindowPane.IVsWindowPane.CreatePaneWindow Method

Note: This API is now obsolete.

Creates a window pane. Obsolete.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
<ObsoleteAttribute("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")> _
Private Function CreatePaneWindow ( _
    hwndParent As IntPtr, _
    x As Integer, _
    y As Integer, _
    cx As Integer, _
    cy As Integer, _
    <OutAttribute> ByRef hwnd As IntPtr _
) As Integer Implements IVsWindowPane.CreatePaneWindow
[ObsoleteAttribute("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")]
int IVsWindowPane.CreatePaneWindow(
    IntPtr hwndParent,
    int x,
    int y,
    int cx,
    int cy,
    out IntPtr hwnd
)
[ObsoleteAttribute(L"The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")]
private:
virtual int CreatePaneWindow(
    IntPtr hwndParent, 
    int x, 
    int y, 
    int cx, 
    int cy, 
    [OutAttribute] IntPtr% hwnd
) sealed = IVsWindowPane::CreatePaneWindow
[<ObsoleteAttribute("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")>]
private abstract CreatePaneWindow : 
        hwndParent:IntPtr * 
        x:int * 
        y:int * 
        cx:int * 
        cy:int * 
        hwnd:IntPtr byref -> int 
[<ObsoleteAttribute("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")>]
private override CreatePaneWindow : 
        hwndParent:IntPtr * 
        x:int * 
        y:int * 
        cx:int * 
        cy:int * 
        hwnd:IntPtr byref -> int 
JScript does not support explicit interface implementations.

Parameters

  • hwnd
    Type: System.IntPtr%
    [out] A pointer to the new window pane.

Return Value

Type: System.Int32
S_OK .

Implements

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

Remarks

The [T:Microsoft.VisualStudio.Shell.Interop.][IVsWindowPane] interface on this class is obsolete. Please use [T:Microsoft.VisualStudio.Shell.Interop.][IVsUIElementPane] instead.

.NET Framework Security

See Also

Reference

WindowPane Class

Microsoft.VisualStudio.Shell Namespace