ExportProvider.GetExport Method

 
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.

Gets a specified export.

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

NameDescription
System_CAPS_pubmethodGetExport<T>()

Returns the export with the contract name derived from the specified type parameter. If there is not exactly one matching export, an exception is thrown.

System_CAPS_pubmethodGetExport<T>(String)

Returns the export with the specified contract name. If there is not exactly one matching export, an exception is thrown.

System_CAPS_pubmethodGetExport<T, TMetadataView>()

Returns the export with the contract name derived from the specified type parameter. If there is not exactly one matching export, an exception is thrown.

System_CAPS_pubmethodGetExport<T, TMetadataView>(String)

Returns the export with the specified contract name. If there is not exactly one matching export, an exception is thrown.

Return to top
Show: