PartCreationPolicyAttribute Constructor (CreationPolicy)

 

Initializes a new instance of the PartCreationPolicyAttribute class with the specified creation policy.

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

public PartCreationPolicyAttribute(
	CreationPolicy creationPolicy
)

Parameters

creationPolicy
Type: System.ComponentModel.Composition.CreationPolicy

The creation policy to use.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show: