CompositionContainer.ReleaseExports Method (IEnumerable<Export>)

 
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.

Releases a set of Export objects from the CompositionContainer.

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

public void ReleaseExports(
	IEnumerable<Export> exports
)

Parameters

exports
Type: System.Collections.Generic.IEnumerable<Export>

A collection of Export objects to be released.

Exception Condition
ArgumentNullException

exports is null.

ArgumentException

exports contains an element that is null.

The behavior of this method may vary depending on the context in which the Export was constructed. For more information, see the ReleaseExport method.

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