Partager via


WindowHelper.ShowModalElement Method (IVsUIElement, IntPtr)

Displays the UIElement as a modal dialog, using the specified Win32 window as parent

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Public Shared Function ShowModalElement ( _
    element As IVsUIElement, _
    parent As IntPtr _
) As Integer
'Utilisation
Dim element As IVsUIElement
Dim parent As IntPtr
Dim returnValue As Integer

returnValue = WindowHelper.ShowModalElement(element, _
    parent)
public static int ShowModalElement(
    IVsUIElement element,
    IntPtr parent
)
public:
static int ShowModalElement(
    IVsUIElement^ element, 
    IntPtr parent
)
static member ShowModalElement : 
        element:IVsUIElement * 
        parent:IntPtr -> int 
public static function ShowModalElement(
    element : IVsUIElement, 
    parent : IntPtr
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

WindowHelper Class

WindowHelper Members

ShowModalElement Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace