IUIElementAdapterFactoryCatalog.RegisterFactory Method

Adds an entry in the factories dictionary.

Namespace: Microsoft.Practices.CompositeUI.UIElements
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
Sub RegisterFactory ( _
    factory As IUIElementAdapterFactory _
)
'Usage
Dim instance As IUIElementAdapterFactoryCatalog
Dim factory As IUIElementAdapterFactory

instance.RegisterFactory(factory)
void RegisterFactory (
    IUIElementAdapterFactory factory
)
void RegisterFactory (
    IUIElementAdapterFactory^ factory
)
void RegisterFactory (
    IUIElementAdapterFactory factory
)
function RegisterFactory (
    factory : IUIElementAdapterFactory
)

Parameters

  • factory
    The factory to register with the catalog.

See Also

Reference

IUIElementAdapterFactoryCatalog Interface
IUIElementAdapterFactoryCatalog Members
Microsoft.Practices.CompositeUI.UIElements Namespace