Share via


UIFactoryHelper.GetViewFromUIFactory Method (Guid, UInt32)

Microsoft internal use only.

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

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Shared Function GetViewFromUIFactory ( _
    factory As Guid, _
    elementId As UInteger _
) As IVsUIElement
public static IVsUIElement GetViewFromUIFactory(
    Guid factory,
    uint elementId
)
public:
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

Parameters

  • 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

Reference

UIFactoryHelper Class

GetViewFromUIFactory Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace