共用方式為


WindowHelper.GetDialogOwnerHandle Method

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

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Shared Function GetDialogOwnerHandle As IntPtr
public static IntPtr GetDialogOwnerHandle()

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