語言

HwndTarget(IntPtr) 建構函式

定義

初始化類別的新實例 HwndTarget ,使用指定的 HWND。

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

這個物件所指向的視窗的把手。

屬性

適用於