共用方式為


ImportBuilder.RequiredCreationPolicy(CreationPolicy) 方法

定義

指定匯入的必要的建立原則。

public:
 System::ComponentModel::Composition::Registration::ImportBuilder ^ RequiredCreationPolicy(System::ComponentModel::Composition::CreationPolicy requiredCreationPolicy);
public System.ComponentModel.Composition.Registration.ImportBuilder RequiredCreationPolicy (System.ComponentModel.Composition.CreationPolicy requiredCreationPolicy);
member this.RequiredCreationPolicy : System.ComponentModel.Composition.CreationPolicy -> System.ComponentModel.Composition.Registration.ImportBuilder
Public Function RequiredCreationPolicy (requiredCreationPolicy As CreationPolicy) As ImportBuilder

參數

requiredCreationPolicy
CreationPolicy

匯入需求的建立政策。

傳回

目前的物件,用於允許鏈結。

適用於