PartCreationPolicyAttribute.CreationPolicy 属性

定义

获取或设置一个值,该值指示特性化部件的创建策略。

public:
 property System::ComponentModel::Composition::CreationPolicy CreationPolicy { System::ComponentModel::Composition::CreationPolicy get(); };
public System.ComponentModel.Composition.CreationPolicy CreationPolicy { get; }
member this.CreationPolicy : System.ComponentModel.Composition.CreationPolicy
Public ReadOnly Property CreationPolicy As CreationPolicy

属性值

CreationPolicy 值之一,指示特性化部件的创建策略。 默认值为 Any

适用于