IUIElementAdapterFactoryCatalog.GetFactory Method

Retrieves a factory for the given UI element.

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

Syntax

'Declaration
Function GetFactory ( _
    element As Object _
) As IUIElementAdapterFactory
'Usage
Dim instance As IUIElementAdapterFactoryCatalog
Dim element As Object
Dim returnValue As IUIElementAdapterFactory

returnValue = instance.GetFactory(element)
IUIElementAdapterFactory GetFactory (
    Object element
)
IUIElementAdapterFactory^ GetFactory (
    Object^ element
)
IUIElementAdapterFactory GetFactory (
    Object element
)
function GetFactory (
    element : Object
) : IUIElementAdapterFactory

Parameters

  • element
    The UI element to lookup a factory for.

Return Value

A factory to use to create IUIElementAdapter for the UI element.

See Also

Reference

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