UIFactoryHelper.GetViewFromUIFactory Method (VsUIElementDescriptor)
Microsoft internal use only.
Creates a UI element from the UI factory service from the UI element descriptor.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function GetViewFromUIFactory ( _
viewDescriptor As VsUIElementDescriptor _
) As IVsUIElement
public static IVsUIElement GetViewFromUIFactory(
VsUIElementDescriptor viewDescriptor
)
public:
static IVsUIElement^ GetViewFromUIFactory(
VsUIElementDescriptor viewDescriptor
)
static member GetViewFromUIFactory :
viewDescriptor:VsUIElementDescriptor -> IVsUIElement
public static function GetViewFromUIFactory(
viewDescriptor : VsUIElementDescriptor
) : IVsUIElement
Parameters
viewDescriptor
Type: Microsoft.VisualStudio.Shell.Interop.VsUIElementDescriptorDescriptor of the UI element.
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.