PartCreationPolicyAttribute(CreationPolicy) PartCreationPolicyAttribute(CreationPolicy) PartCreationPolicyAttribute(CreationPolicy) Constructor

Definizione

Inizializza una nuova istanza della classe PartCreationPolicyAttribute con i criteri di creazione specificati.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

Parametri

creationPolicy
CreationPolicy CreationPolicy CreationPolicy

Criteri di creazione da utilizzare.The creation policy to use.

Si applica a