PartConventionBuilder::ExportProperties Method (Predicate<PropertyInfo^>^, Action<PropertyInfo^, ExportConventionBuilder^>^)

.NET Framework (current version)
 

Selects the properties on the part to export according the specified predicate, using the specified export configuration.

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

public:
PartConventionBuilder^ ExportProperties(
	Predicate<PropertyInfo^>^ propertyFilter,
	Action<PropertyInfo^, ExportConventionBuilder^>^ exportConfiguration
)

Parameters

propertyFilter
Type: System::Predicate<PropertyInfo^>^

A predicate that specifies the properties to export.

exportConfiguration
Type: System::Action<PropertyInfo^, 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: