WindowHelper.ShowModalElement Method (Guid, UInt32, IVsUISimpleDataSource)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Create the specified element and display it as a modal dialog, using the main window of the IDE as the parent.

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
Public Shared Function ShowModalElement ( _
    factory As Guid, _
    elementId As UInteger, _
    dataSource As IVsUISimpleDataSource _
) As Integer
public static int ShowModalElement(
    Guid factory,
    uint elementId,
    IVsUISimpleDataSource dataSource
)
public:
static int ShowModalElement(
    Guid factory, 
    unsigned int elementId, 
    IVsUISimpleDataSource^ dataSource
)
static member ShowModalElement : 
        factory:Guid * 
        elementId:uint32 * 
        dataSource:IVsUISimpleDataSource -> int
public static function ShowModalElement(
    factory : Guid, 
    elementId : uint, 
    dataSource : IVsUISimpleDataSource
) : int

Parameters

  • factory
    Type: System.Guid

    The GUID of the UI factory that should create. the element

  • elementId
    Type: System.UInt32

    The ID of the UI element to create.

Return Value

Type: System.Int32
The Win32 button ID, or 0 for unknown.

.NET Framework Security

See Also

Reference

WindowHelper Class

ShowModalElement Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace