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

屬性值

如果從 ContractName 中加入或移除提供相同 CompositionContainer 的匯出時允許重新撰寫屬性或欄位,則為 true,否則為 false

預設值是 false

適用於