Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates the specified element and displays it as a modal dialog, using the main window of the IDE as the parent.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Shared Function ShowModalElement ( _
element As IVsUIElement _
) As Integer
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
- element
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIElement
The element to create and display as a dialog.
Return Value
Type: System.Int32
A Win32 button ID, or 0 for unknown.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.