语言

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

此对象绘制到的窗口的句柄。

特性

适用于