PartBuilder.SetCreationPolicy(CreationPolicy) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the creation policy for matching types.
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
Parameters
- creationPolicy
- CreationPolicy
The creation policy.
Returns
The current object, to allow chaining.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.