Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this method to set the owner of the Window from a window handle.
For a modal dialog this property must be set.
Namespace: Microsoft.TeamFoundation.Controls.WPF
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Sub SetOwner ( _
hwnd As IntPtr _
)
public void SetOwner(
IntPtr hwnd
)
public:
void SetOwner(
IntPtr hwnd
)
member SetOwner :
hwnd:IntPtr -> unit
public function SetOwner(
hwnd : IntPtr
)
Parameters
- hwnd
Type: System.IntPtr
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.