CompositionContainer.Providers Property

Definition

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

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::ComponentModel::Composition::Hosting::ExportProvider ^> ^ Providers { System::Collections::ObjectModel::ReadOnlyCollection<System::ComponentModel::Composition::Hosting::ExportProvider ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.ComponentModel.Composition.Hosting.ExportProvider> Providers { get; }
member this.Providers : System.Collections.ObjectModel.ReadOnlyCollection<System.ComponentModel.Composition.Hosting.ExportProvider>
Public ReadOnly Property Providers As ReadOnlyCollection(Of ExportProvider)

Property Value

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

Exceptions

The CompositionContainer has been disposed of.

Applies to