Udostępnij za pośrednictwem


Metoda WindowHelper.ShowModalElement — (IVsUIElement, IntPtr)

Wyświetla element interfejsu użytkownika jako modalne okno dialogowe, za pomocą określonego okna Win32 jako nadrzędny.

Przestrzeń nazw:  Microsoft.Internal.VisualStudio.PlatformUI
Zestaw:  Microsoft.VisualStudio.Shell.11.0 (w Microsoft.VisualStudio.Shell.11.0.dll)

Składnia

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

Parametry

Wartość zwracana

Typ: System.Int32
Identyfikator przycisku Win32, lub 0 w przypadku nieznany.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

WindowHelper Klasa

Przeciążenie ShowModalElement

Przestrzeń nazw Microsoft.Internal.VisualStudio.PlatformUI