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
‘선언
Public Shared Function ShowModalElement ( _
element As IVsUIElement _
) As Integer
‘사용 방법
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
- element
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIElement
Element to create and display as dialog
Return Value
Type: System.Int32
.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.