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

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)

public:
generic<typename T>
void ReleaseExport(
	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.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft