Compartilhar via


PartBuilder.SetCreationPolicy(CreationPolicy) Método

Definição

Especifica a política de criação para tipos de correspondência.

public:
 System::ComponentModel::Composition::Registration::PartBuilder ^ SetCreationPolicy(System::ComponentModel::Composition::CreationPolicy creationPolicy);
public System.ComponentModel.Composition.Registration.PartBuilder SetCreationPolicy (System.ComponentModel.Composition.CreationPolicy creationPolicy);
member this.SetCreationPolicy : System.ComponentModel.Composition.CreationPolicy -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function SetCreationPolicy (creationPolicy As CreationPolicy) As PartBuilder

Parâmetros

creationPolicy
CreationPolicy

A política de criação.

Retornos

O objeto atual para permitir encadeamento.

Aplica-se a