CompositionContainer.Providers Property


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

Gets the export providers that provide the container access to additional ComposablePartCatalog objects.

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

public ReadOnlyCollection<ExportProvider> Providers { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ExportProvider>

A collection of ExportProvider objects that provide the CompositionContainer access to additional Export objects. The default is an empty ReadOnlyCollection<T>.

Exception Condition

The CompositionContainer has been disposed of.

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