PartConventionBuilder<T>::ExportProperty Method (Expression<Func<T, Object^>^>^, Action<ExportConventionBuilder^>^)
.NET Framework (current version)
Exports a specified property with the specified configuration.
Assembly: System.Composition.Convention (in System.Composition.Convention.dll)
public:
PartConventionBuilder<T>^ ExportProperty(
Expression<Func<T, Object^>^>^ propertySelector,
Action<ExportConventionBuilder^>^ exportConfiguration
)
Parameters
- propertySelector
-
Type:
System.Linq.Expressions::Expression<Func<T, Object^>^>^
A function that selects the property to export.
- exportConfiguration
-
Type:
System::Action<ExportConventionBuilder^>^
An action that configures the exported property.
Return Value
Type: System.Composition.Convention::PartConventionBuilder<T>^An object that can be used to further configure the part.
Show: