CompositionContext::TryGetExport Method
Returns a single export, or returns null if no match is found.
Assembly: System.Composition.Runtime (in System.Composition.Runtime.dll)
| Name | Description | |
|---|---|---|
![]() | TryGetExport(CompositionContract^, Object^) | Returns the export that matches the specified contract, or returns null if no match is found. |
![]() | TryGetExport(Type^, Object^) | Returns the export that matches the specified type, or returns null if no match is found. |
![]() | TryGetExport(Type^, String^, Object^) | Returns the export that matches the specified contract name and type, or returns null if no match is found. |
![]() | TryGetExport<TExport>(TExport) | Returns the export that matches the specified generic type parameter, or returns null if no match is found. |
![]() | TryGetExport<TExport>(String^, TExport) | Returns the export that matches the specified generic type parameter and contract name, or returns null if no match is found. |
