ComposablePart.Activate Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Called when all the imports of the part have been set, and exports can be retrieved.

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

public virtual void Activate()

Once this method is called, no further imports can be set unless a call is made to Deactivate.

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