Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Shows a WPF window using a Win32 parent window
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Shared Function ShowModal ( _
window As Window, _
parent As IntPtr _
) As Integer
'Usage
Dim window As Window
Dim parent As IntPtr
Dim returnValue As Integer
returnValue = WindowHelper.ShowModal(window, _
parent)
public static int ShowModal(
Window window,
IntPtr parent
)
public:
static int ShowModal(
Window^ window,
IntPtr parent
)
static member ShowModal :
window:Window *
parent:IntPtr -> int
public static function ShowModal(
window : Window,
parent : IntPtr
) : int
Parameters
- window
Type: System.Windows.Window
Dialog to show
- parent
Type: System.IntPtr
The parent window handle
Return Value
Type: System.Int32
.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.