ImportManyAttribute.AllowRecomposition 属性

定义

获取或设置一个值,该值指示在提供匹配协定更改的导出时是否重新编译修饰的属性或字段。

public:
 property bool AllowRecomposition { bool get(); void set(bool value); };
public bool AllowRecomposition { get; set; }
member this.AllowRecomposition : bool with get, set
Public Property AllowRecomposition As Boolean

属性值

true如果属性或字段允许在从中添加或删除CompositionContainer提供相同项ContractName的导出时重新组合,则为 ;否则为 false

默认值为 false

适用于