WindowHelper.ShowModalElement 方法 (IVsUIElement, IntPtr)

显示 UI 元素为有模式对话框,则使用指定的 Win32 窗口作为父级。

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

语法

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

参数

返回值

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

.NET Framework 安全性

请参见

参考

WindowHelper 类

ShowModalElement 重载

Microsoft.Internal.VisualStudio.PlatformUI 命名空间