Share via


ComposablePartDefinition.ExportDefinitions Property

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

Gets a collection of ExportDefinition objects that describe the objects exported by the part defined by this ComposablePartDefinition object.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property ExportDefinitions As IEnumerable(Of ExportDefinition)
public abstract IEnumerable<ExportDefinition> ExportDefinitions { get; }

Property Value

Type: System.Collections.Generic.IEnumerable<ExportDefinition>
A collection of ExportDefinition objects that describe the exported objects provided by ComposablePart objects created by the ComposablePartDefinition.

Remarks

Overrides of this property should never return nulla null reference (Nothing in Visual Basic). If the ComposablePart objects created by the ComposablePartDefinition do not provide exported objects, return an empty IEnumerable<T> collection instead.

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.