Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates the specified element and displays it as a modal dialog, using the specified window or the main window of the IDE 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, _
owner As Window _
) As Integer
public static int ShowModalElement(
IVsUIElement element,
Window owner
)
public:
static int ShowModalElement(
IVsUIElement^ element,
Window^ owner
)
static member ShowModalElement :
element:IVsUIElement *
owner:Window -> int
public static function ShowModalElement(
element : IVsUIElement,
owner : Window
) : int
Parameters
element
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIElementThe element to create and display as a dialog window.
owner
Type: System.Windows.WindowThe window to be used as the parent.
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.