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:
property bool AllowRecomposition {
	virtual bool get() sealed;
	virtual void set(bool value) sealed;
}

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.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show: