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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.