Udostępnij za pośrednictwem


IVsUIWin32Element.Create Method

Create the element as a child of the specified parent.

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

Syntax

'Declaration
Function Create ( _
    parent As IntPtr, _
    <OutAttribute> ByRef pHandle As IntPtr _
) As Integer
int Create(
    IntPtr parent,
    out IntPtr pHandle
)
int Create(
    IntPtr parent, 
    [OutAttribute] IntPtr% pHandle
)
abstract Create : 
        parent:IntPtr * 
        pHandle:IntPtr byref -> int 
function Create(
    parent : IntPtr, 
    pHandle : IntPtr
) : int

Parameters

  • pHandle
    Type: System.IntPtr%
    [out] Location to return the HWND of the created element.

Return Value

Type: System.Int32
Returns S_OK if the element was created.

.NET Framework Security

See Also

Reference

IVsUIWin32Element Interface

Microsoft.VisualStudio.Shell.Interop Namespace