WindowHelper.ShowModalElement 方法 (IVsUIElement, Window)

创建指定的组件并将其显示为有模式对话框,则使用指定的窗口或 IDE 的主窗口作为父级。

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

语法

声明
Public Shared Function ShowModalElement ( _
    element As IVsUIElement, _
    owner As Window _
) As Integer
public static int ShowModalElement(
    IVsUIElement element,
    Window owner
)

参数

返回值

类型:System.Int32
Win32 按钮的 ID 或 0 未知的。

.NET Framework 安全性

请参见

参考

WindowHelper 类

ShowModalElement 重载

Microsoft.Internal.VisualStudio.PlatformUI 命名空间