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)

public interface IVsUIFactory

The IVsUIFactory type exposes the following members.

Public methodCreateUIElementCreates an instance of the specified element.

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.