Bagikan melalui


AssemblyCatalog.Parts Property

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

Gets the part definitions that are contained in the assembly catalog.

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

Syntax

'Declaration
Public Overrides ReadOnly Property Parts As IQueryable(Of ComposablePartDefinition)
public override IQueryable<ComposablePartDefinition> Parts { get; }

Property Value

Type: System.Linq.IQueryable<ComposablePartDefinition>
The ComposablePartDefinition objects contained in the AssemblyCatalog.

Exceptions

Exception Condition
ObjectDisposedException

The AssemblyCatalog 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.