UIFactoryHelper.GetViewFromUIFactory Method (Guid, UInt32)

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

Microsoft internal use only.

Creates a UI element from the UI factory service from the UI element identifier.

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)


Public Shared Function GetViewFromUIFactory ( _
    factory As Guid, _
    elementId As UInteger _
) As IVsUIElement
public static IVsUIElement GetViewFromUIFactory(
    Guid factory,
    uint elementId
static IVsUIElement^ GetViewFromUIFactory(
    Guid factory, 
    unsigned int elementId
static member GetViewFromUIFactory : 
        factory:Guid * 
        elementId:uint32 -> IVsUIElement
public static function GetViewFromUIFactory(
    factory : Guid, 
    elementId : uint
) : IVsUIElement


  • factory
    Type: System.Guid

    GUID part of the UI element identifier.

  • elementId
    Type: System.UInt32

    DWORD part of the UI element identifier.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsUIElement
An element from the UI factory.

.NET Framework Security

See Also


UIFactoryHelper Class

GetViewFromUIFactory Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace