Metoda WindowPane.IVsWindowPane.CreatePaneWindow —
Uwaga: ten interfejs API jest już przestarzały.
Tworzy okienku okna.Nieaktualne.
Przestrzeń nazw: Microsoft.VisualStudio.Shell
Zestaw: Microsoft.VisualStudio.Shell.11.0 (w Microsoft.VisualStudio.Shell.11.0.dll)
Składnia
'Deklaracja
<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
)
Parametry
- hwndParent
Typ: System.IntPtr
Wskaźnik do okna nadrzędnego.
- x
Typ: System.Int32
Bezwzględna x współrzędnych.
- y
Typ: System.Int32
Bezwzględna y współrzędnych.
- cx
Typ: System.Int32
Szerokość okna.
- cy
Typ: System.Int32
Wysokość okna.
- hwnd
Typ: System.IntPtr%
[out] Wskaźnik do nowego okienka.
Wartość zwracana
Typ: System.Int32
S_OK .
Implementuje
IVsWindowPane.CreatePaneWindow(IntPtr, Int32, Int32, Int32, Int32, IntPtr%)
Uwagi
[T:Microsoft.VisualStudio.Shell.Interop.][IVsWindowPane] Interfejsu dla tej klasy jest przestarzała.Skorzystaj z [T:Microsoft.VisualStudio.Shell.Interop.][IVsUIElementPane] zamiast.
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..