ReleaseExports Method (IEnumerable(Export))
Collapse the table of content
Expand the table of content

CompositionContainer.ReleaseExports Method (IEnumerable(Of Export))

 

Releases a set of Export objects from the CompositionContainer.

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

Public Sub ReleaseExports (
	exports As IEnumerable(Of Export)
)

Parameters

exports
Type: System.Collections.Generic.IEnumerable(Of 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:
© 2016 Microsoft