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
'Declaração
Public Shared Function GetViewFromUIFactory ( _
factory As Guid, _
elementId As UInteger _
) As IVsUIElement
public static IVsUIElement GetViewFromUIFactory(
Guid factory,
uint elementId
)
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
- 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.