Condividi tramite


TypeCatalog.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.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 that are contained in the TypeCatalog object.

Exceptions

Exception Condition
ObjectDisposedException

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