CompositionBatch.AddExport Method

Adds the specified export to the CompositionBatch object.

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

public ComposablePart AddExport(
	Export export
)

Parameters

export
Type: System.ComponentModel.Composition.Primitives.Export
The export to add to the CompositionBatch object.

Return Value

Type: System.ComponentModel.Composition.Primitives.ComposablePart

System.ComponentModel.Composition.Primitives.ComposablePart

ExceptionCondition
ArgumentNullException

export is null.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: