CompositionContainer::ReleaseExports<T> Method (IEnumerable<Lazy<T>^>^)

 

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:
generic<typename T>
void ReleaseExports(
	IEnumerable<Lazy<T>^>^ exports
)

Parameters

exports
Type: System.Collections.Generic::IEnumerable<Lazy<T>^>^

A collection of indirect references to the exports to be removed.

Type Parameters

T

The type of the exports.

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