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.
Displays the UI element as a modal dialog, using the specified Win32 window as the parent.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function ShowModalElement ( _
element As IVsUIElement, _
parent As IntPtr _
) As Integer
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
element
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIElementThe element to display as a modal dialog.
parent
Type: System.IntPtrThe parent window handle.
Return Value
Type: System.Int32
The 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.