AggregateCatalog Constructor (IEnumerable<ComposablePartCatalog>)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the AggregateCatalog class with the specified catalogs.

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

public AggregateCatalog(
	IEnumerable<ComposablePartCatalog> catalogs
)

Parameters

catalogs
Type: System.Collections.Generic.IEnumerable<ComposablePartCatalog>

A collection of ComposablePartCatalog objects to add to the AggregateCatalog or null to create an empty AggregateCatalog.

Exception Condition
ArgumentException

catalogs contains an element that is null.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show: