CompositionContainer::ReleaseExports<T, TMetadataView> Method (IEnumerable<Lazy<T, TMetadataView>^>^)
.NET Framework (current version)
Removes a collection of exports from composition and releases their resources if possible.
Assembly: System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)
public: generic<typename T, typename TMetadataView> void ReleaseExports( IEnumerable<Lazy<T, TMetadataView>^>^ exports )
Parameters
- exports
-
Type:
System.Collections.Generic::IEnumerable<Lazy<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
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Show: