Udostępnij za pośrednictwem


IVsUIWin32Element.Create(IntPtr, IntPtr) Method

Definition

Create the element as a child of the specified parent.

public:
 int Create(IntPtr parent, [Runtime::InteropServices::Out] IntPtr % pHandle);
public int Create (IntPtr parent, out IntPtr pHandle);
abstract member Create : nativeint * nativeint -> int
Public Function Create (parent As IntPtr, ByRef pHandle As IntPtr) As Integer

Parameters

parent
IntPtr

nativeint

[in] The HWND of the parent window.

pHandle
IntPtr

nativeint

[out] Location to return the HWND of the created element.

Returns

Returns S_OK if the element was created.

Applies to