Condividi tramite


CompositionHost.Initialize Method (array<ComposablePartCatalog[])

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Sets CompositionInitializer to use a new container initialized with the specified catalogs.

Namespace:  System.ComponentModel.Composition.Hosting
Assembly:  System.ComponentModel.Composition.Initialization (in System.ComponentModel.Composition.Initialization.dll)

Syntax

'Declaration
Public Shared Function Initialize ( _
    ParamArray catalogs As ComposablePartCatalog() _
) As CompositionContainer
public static CompositionContainer Initialize(
    params ComposablePartCatalog[] catalogs
)

Parameters

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.