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.GuidGUID part of the UI element identifier.
elementId
Type: System.UInt32DWORD part of the UI element identifier.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIElement
An element from the UI factory.
.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.