WindowHelper.ShowModal 方法 (Window)

显示 WPF 窗口作为在 Visual Studio 的模式对话框。

命名空间:  Microsoft.Internal.VisualStudio.PlatformUI
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Public Shared Function ShowModal ( _
    window As Window _
) As Integer
public static int ShowModal(
    Window window
)

参数

返回值

类型:System.Int32
对话结果。

.NET Framework 安全性

请参见

参考

WindowHelper 类

ShowModal 重载

Microsoft.Internal.VisualStudio.PlatformUI 命名空间