WindowHelper.GetDialogOwnerHandle Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the window handle that can be used to parent modal dialogs.

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
Public Shared Function GetDialogOwnerHandle As IntPtr
public static IntPtr GetDialogOwnerHandle()
public:
static IntPtr GetDialogOwnerHandle()
static member GetDialogOwnerHandle : unit -> IntPtr
public static function GetDialogOwnerHandle() : IntPtr

Return Value

Type: System.IntPtr
The window handle that can be used to parent modal dialogs.

.NET Framework Security

See Also

Reference

WindowHelper Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace