This documentation is archived and is not being maintained.

IVsUIFactory Interface

Represents a UI factory that creates IVsUIElement objects.

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

[GuidAttribute("D416BA0D-25C6-463B-B2BD-F06142F0D4B7")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUIFactory

The IVsUIFactory type exposes the following members.

  NameDescription
Public methodCreateUIElementCreates an instance of the specified element.
Top

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.

Show: