ImportManyAttribute.AllowRecomposition Property

Gets or sets a value indicating whether the decorated property or field will be recomposed when exports that provide the matching contract change.

Namespace:  System.ComponentModel.Composition
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

public bool AllowRecomposition { get; set; }

Property Value

Type: System.Boolean
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.
The default value is false.


Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions