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<T>::SelectConstructor Method (Expression<Func<ParameterImportConventionBuilder^, T>^>^)

.NET Framework (current version)
 

Selects a constructor to be used in composition.

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

public:
PartConventionBuilder<T>^ SelectConstructor(
	Expression<Func<ParameterImportConventionBuilder^, T>^>^ constructorSelector
)

Parameters

constructorSelector
Type: System.Linq.Expressions::Expression<Func<ParameterImportConventionBuilder^, T>^>^

A function that selects a constructor.

Return Value

Type: System.Composition.Convention::PartConventionBuilder<T>^

An object that can be used to further configure the part.

Return to top
Show:
© 2017 Microsoft