Partager via


WindowHelper.ShowModalElement Method (IVsUIElement)

Create the specified element and display it as a modal dialog using the IDE's main 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 _
) As Integer
'Utilisation
Dim element As IVsUIElement
Dim returnValue As Integer

returnValue = WindowHelper.ShowModalElement(element)
public static int ShowModalElement(
    IVsUIElement element
)
public:
static int ShowModalElement(
    IVsUIElement^ element
)
static member ShowModalElement : 
        element:IVsUIElement -> int 
public static function ShowModalElement(
    element : IVsUIElement
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

WindowHelper Class

WindowHelper Members

ShowModalElement Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace