Share via


HwndTarget(IntPtr) 建構函式

定義

使用指定的 HWND 來初始化 HwndTarget 類別的新執行個體。

public:
 HwndTarget(IntPtr hwnd);
[System.Security.SecurityCritical]
public HwndTarget (IntPtr hwnd);
public HwndTarget (IntPtr hwnd);
[<System.Security.SecurityCritical>]
new System.Windows.Interop.HwndTarget : nativeint -> System.Windows.Interop.HwndTarget
new System.Windows.Interop.HwndTarget : nativeint -> System.Windows.Interop.HwndTarget
Public Sub New (hwnd As IntPtr)

參數

hwnd
IntPtr

nativeint

繪製這個物件之視窗的控制代碼。

屬性

適用於