IVsUIFactory Interface

Represents a UI factory that creates IVsUIElement objects.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
<GuidAttribute("D416BA0D-25C6-463B-B2BD-F06142F0D4B7")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsUIFactory
[GuidAttribute("D416BA0D-25C6-463B-B2BD-F06142F0D4B7")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUIFactory
[GuidAttribute(L"D416BA0D-25C6-463B-B2BD-F06142F0D4B7")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsUIFactory
[<GuidAttribute("D416BA0D-25C6-463B-B2BD-F06142F0D4B7")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUIFactory =  interface end
public interface IVsUIFactory

The IVsUIFactory type exposes the following members.

Methods

  Name Description
Public method CreateUIElement Creates an instance of the specified element.

Top

Remarks

This interface is implemented by packages that supply their own UI factories. It is also implemented by the shell as the SVsUIFactory service.

Register your UI factory under the UIProviders subkey in the registry. Each factory must be supplied by a package. The package must call RegisterUIFactory in its SetSite call.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace