ImportManyAttribute.AllowRecomposition Propriedade

Definição

Obtém ou define um valor que indica se o campo ou a propriedade decorada será recomposto quando exportações que fornecem o contrato correspondente mudarem.Gets or sets a value indicating whether the decorated property or field will be recomposed when exports that provide the matching contract change.

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

Valor da propriedade

Boolean

true se a propriedade ou o campo permitir a recomposição quando as exportações que fornecem o mesmo ContractName forem adicionadas ou removidas do CompositionContainer ; caso contrário, false .true if the property or field allows for recomposition when exports that provide the same ContractName are added or removed from the CompositionContainer; otherwise, false.

O valor padrão é false.The default value is false.

Aplica-se a