次の方法で共有


CompositionContainer.Catalog Property

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

Gets the ComposablePartCatalog that provides the container access to Export objects.

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

Syntax

'Declaration
Public ReadOnly Property Catalog As ComposablePartCatalog
public ComposablePartCatalog Catalog { get; }

Property Value

Type: System.ComponentModel.Composition.Primitives.ComposablePartCatalog
The catalog that provides the CompositionContainer access to exports produced from ComposablePart objects. The default is nulla null reference (Nothing in Visual Basic).

Exceptions

Exception Condition
ObjectDisposedException

The CompositionContainer object 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.