PartConventionBuilder::ExportProperties<T> Method (Predicate<PropertyInfo^>^)
.NET Framework (current version)
Selects the properties on the part to export according the specified predicate, using the specified contract type.
Assembly: System.Composition.Convention (in System.Composition.Convention.dll)
public: generic<typename T> PartConventionBuilder^ ExportProperties( Predicate<PropertyInfo^>^ propertyFilter )
Parameters
- propertyFilter
-
Type:
System::Predicate<PropertyInfo^>^
A predicate that specifies properties to export.
Return Value
Type: System.Composition.Convention::PartConventionBuilder^A part builder that provides further configuration of the part.
Type Parameters
- T
The contract type.
Show: