Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Displays a WPF window as a modal dialog in Visual Studio.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function ShowModal ( _
window As Window _
) As Integer
public static int ShowModal(
Window window
)
public:
static int ShowModal(
Window^ window
)
static member ShowModal :
window:Window -> int
public static function ShowModal(
window : Window
) : int
Parameters
window
Type: System.Windows.WindowThe WPF window to be shown as a dialog.
Return Value
Type: System.Int32
The dialog result.
.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.