WindowHelper.CreateUIElement Method (Guid, UInt32)

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

Creates a UI element.

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 CreateUIElement ( _
    factory As Guid, _
    elementId As UInteger _
) As IVsUIElement
public static IVsUIElement CreateUIElement(
    Guid factory,
    uint elementId
)
public:
static IVsUIElement^ CreateUIElement(
    Guid factory, 
    unsigned int elementId
)
static member CreateUIElement : 
        factory:Guid * 
        elementId:uint32 -> IVsUIElement
public static function CreateUIElement(
    factory : Guid, 
    elementId : uint
) : IVsUIElement

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: Microsoft.VisualStudio.Shell.Interop.IVsUIElement
The UI element.

.NET Framework Security

See Also

Reference

WindowHelper Class

CreateUIElement Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace