AggregateCatalog Constructor (IEnumerable(Of ComposablePartCatalog))

 

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 Sub New (
	catalogs As IEnumerable(Of ComposablePartCatalog)
)

Parameters

catalogs
Type: System.Collections.Generic.IEnumerable(Of 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: