Export (0) Print
Expand All

PartBuilder.SetCreationPolicy Method

.NET Framework 4.5

Specifies the creation policy for matching types.

Namespace:  System.ComponentModel.Composition.Registration
Assembly:  System.ComponentModel.Composition.Registration (in System.ComponentModel.Composition.Registration.dll)

public PartBuilder SetCreationPolicy(
	CreationPolicy creationPolicy
)

Parameters

creationPolicy
Type: System.ComponentModel.Composition.CreationPolicy

The creation policy.

Return Value

Type: System.ComponentModel.Composition.Registration.PartBuilder
The current object, to allow chaining.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft