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
- parent
Type: System.IntPtr
[in] The HWND of the parent window.
- 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
- 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.