IVsUIWin32Element.Create Method
Create the element as a child of the specified parent.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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: IntPtr[in] The HWND of the parent window.
pHandle
Type: IntPtr%[out] Location to return the HWND of the created element.
Return Value
Type: 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.