Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CompositionContext::GetExport Method

.NET Framework (current version)
 

Returns a single export from the composition.

Namespace:   System.Composition
Assembly:  System.Composition.Runtime (in System.Composition.Runtime.dll)

NameDescription
System_CAPS_pubmethodGetExport(CompositionContract^)

Returns the export that matches the specified contract.

System_CAPS_pubmethodGetExport(Type^)

Returns the export that matches the specified type.

System_CAPS_pubmethodGetExport(Type^, String^)

Returns the export that matches the specified name and type.

System_CAPS_pubmethodGetExport<TExport>()

Returns the export that matches the specified generic type parameter.

System_CAPS_pubmethodGetExport<TExport>(String^)

Returns the export that matches the specified generic type parameter and contract name.

Return to top
Show:
© 2017 Microsoft