Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PartConventionBuilder::Export<T> Method (Action<ExportConventionBuilder^>^)

.NET Framework (current version)
 

Exports the part that has the specified contract type by using the specified configuration.

Namespace:   System.Composition.Convention
Assembly:  System.Composition.Convention (in System.Composition.Convention.dll)

public:
generic<typename T>
PartConventionBuilder^ Export(
	Action<ExportConventionBuilder^>^ exportConfiguration
)

Parameters

exportConfiguration
Type: System::Action<ExportConventionBuilder^>^

An action that configures the part.

Return Value

Type: System.Composition.Convention::PartConventionBuilder^

A part builder that provides further configuration of the part.

Type Parameters

T

The contract type.

Return to top
Show:
© 2017 Microsoft