WindowHelper.CreateChildElement Method (IVsUIElement, IntPtr)
Creates and displays the specified element as a modeless child window.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function CreateChildElement ( _
element As IVsUIElement, _
parent As IntPtr _
) As IntPtr
public static IntPtr CreateChildElement(
IVsUIElement element,
IntPtr parent
)
public:
static IntPtr CreateChildElement(
IVsUIElement^ element,
IntPtr parent
)
static member CreateChildElement :
element:IVsUIElement *
parent:IntPtr -> IntPtr
public static function CreateChildElement(
element : IVsUIElement,
parent : IntPtr
) : IntPtr
Parameters
element
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIElementThe element to create and display.
parent
Type: System.IntPtrThe parent window handle.
Return Value
Type: System.IntPtr
The handle of the child window.
.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.