Bewerken

Delen via


PartCreationPolicyAttribute(CreationPolicy) Constructor

Definition

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

public:
 PartCreationPolicyAttribute(System::ComponentModel::Composition::CreationPolicy creationPolicy);
public PartCreationPolicyAttribute (System.ComponentModel.Composition.CreationPolicy creationPolicy);
new System.ComponentModel.Composition.PartCreationPolicyAttribute : System.ComponentModel.Composition.CreationPolicy -> System.ComponentModel.Composition.PartCreationPolicyAttribute
Public Sub New (creationPolicy As CreationPolicy)

Parameters

creationPolicy
CreationPolicy

The creation policy to use.

Applies to