PartCreationPolicyAttribute.CreationPolicy 属性

定义

获取或设置一个值,该值指示特性化部件的创建策略。Gets or sets a value that indicates the creation policy of the attributed part.

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 值之一,指示特性化部件的创建策略。One of the CreationPolicy values that indicates the creation policy of the attributed part. 默认值为 AnyThe default is Any.

适用于