Partager via


ComposablePart.Activate Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Overridable Sub Activate
public virtual void Activate()

Remarks

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

Version Information

Silverlight

Supported in: 5, 4

Platforms

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