CompositionContainer.ReleaseExport<T> Method (Lazy<T>)

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

Removes the specified export from composition and releases its resources if possible.

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

Syntax

'Declaration
Public Sub ReleaseExport(Of T) ( _
    export As Lazy(Of T) _
)
public void ReleaseExport<T>(
    Lazy<T> export
)

Type Parameters

  • T
    The type of the export.

Parameters

  • export
    Type: System.Lazy<T>
    An indirect reference to the export to remove.

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.