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.

CompositionHost::TryGetExport Method

.NET Framework (current version)
 

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

NameDescription
System_CAPS_pubmethodTryGetExport(CompositionContract^, Object^)

Retrieves the specified export from the composition context.(Overrides CompositionContext::TryGetExport(CompositionContract^, Object^).)

System_CAPS_pubmethodTryGetExport(Type^, Object^)

Returns the export that matches the specified type, or returns null if no match is found.(Inherited from CompositionContext.)

System_CAPS_pubmethodTryGetExport(Type^, String^, Object^)

Returns the export that matches the specified contract name and type, or returns null if no match is found.(Inherited from CompositionContext.)

System_CAPS_pubmethodTryGetExport<TExport>(TExport)

Returns the export that matches the specified generic type parameter, or returns null if no match is found.(Inherited from CompositionContext.)

System_CAPS_pubmethodTryGetExport<TExport>(String^, TExport)

Returns the export that matches the specified generic type parameter and contract name, or returns null if no match is found.(Inherited from CompositionContext.)

Return to top
Show:
© 2017 Microsoft