CompositionContainer.ReleaseExports(Of T, TMetadataView) Method (IEnumerable(Of Lazy(Of T, TMetadataView)))

 
System_CAPS_noteNote

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

Removes a collection of exports from composition and releases their resources if possible.

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

Public Sub ReleaseExports(Of T, TMetadataView) (
	exports As IEnumerable(Of Lazy(Of T, TMetadataView))
)

Parameters

exports
Type: System.Collections.Generic.IEnumerable(Of Lazy(Of T, TMetadataView))

A collection of indirect references to the exports to be removed and their metadata.

Type Parameters

T

The type of the exports.

TMetadataView

The type of the exports' metadata view.

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