다음을 통해 공유


CompositionContainer.Providers Property

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

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)

Syntax

'Declaration
Public ReadOnly Property Providers As ReadOnlyCollection(Of ExportProvider)
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>.

Exceptions

Exception Condition
ObjectDisposedException

The CompositionContainer has been disposed of.

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.