WindowInteropHelper.Handle 属性

定义

获取用于创建此 WindowInteropHelper对象的 Windows Presentation Foundation(WPF)窗口的窗口句柄。

public:
 property IntPtr Handle { IntPtr get(); };
public IntPtr Handle { [System.Security.SecurityCritical] get; }
public IntPtr Handle { get; }
[<get: System.Security.SecurityCritical>]
member this.Handle : nativeint
member this.Handle : nativeint
Public ReadOnly Property Handle As IntPtr

属性值

IntPtr

nativeint

Windows Presentation Foundation(WPF)窗口句柄(HWND)。

属性

适用于

另请参阅