次の方法で共有


IVsUIWin32Element.GetHandle(IntPtr) Method

Definition

Returns the HWND for the element.

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

Parameters

pHandle
IntPtr

nativeint

[out] Location to return the HWND.

Returns

Return S_OK if the handle was returned.

Applies to