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::ExportInterfaces Method (Predicate<Type^>^, Action<Type^, ExportConventionBuilder^>^)

.NET Framework (current version)
 

Selects interfaces on the part type to be exported according to the specified filter, using the specified export configuration.

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

public:
PartConventionBuilder^ ExportInterfaces(
	Predicate<Type^>^ interfaceFilter,
	Action<Type^, ExportConventionBuilder^>^ exportConfiguration
)

Parameters

interfaceFilter
Type: System::Predicate<Type^>^

A predicate that specifies the interfaces to be selected.

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

An action that configures the exports.

Return Value

Type: System.Composition.Convention::PartConventionBuilder^

A part builder that provides further configuration of the part.

Return to top
Show:
© 2017 Microsoft