Bagikan melalui


ComposablePartCatalog.Parts Property

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

Gets the part definitions that are contained in the catalog.

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

Syntax

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

Exceptions

Exception Condition
ObjectDisposedException

The ComposablePartCatalog object has been disposed of.

Remarks

Overrides of this property should never return nulla null reference (Nothing in Visual Basic).

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.