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
'宣言
Public Shared Function GetViewFromUIFactory ( _
viewDescriptor As VsUIElementDescriptor _
) As IVsUIElement
public static IVsUIElement GetViewFromUIFactory(
VsUIElementDescriptor viewDescriptor
)
Parameters
- viewDescriptor
Type: Microsoft.VisualStudio.Shell.Interop.VsUIElementDescriptor
Descriptor 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.