Bagikan melalui


AssemblyCatalog.GetExports Method

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

Gets a collection of exports that match the conditions specified by the import definition.

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

Syntax

'Declaration
Public Overrides Function GetExports ( _
    definition As ImportDefinition _
) As IEnumerable(Of Tuple(Of ComposablePartDefinition, ExportDefinition))
public override IEnumerable<Tuple<ComposablePartDefinition, ExportDefinition>> GetExports(
    ImportDefinition definition
)

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<Tuple<ComposablePartDefinition, ExportDefinition>>
A collection of exports that match the conditions specified by definition.

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.