CompositionContext::GetExports<TExport> Method (String^)
.NET Framework (current version)
Returns all exports that match the specified generic type parameter and contract name.
Assembly: System.Composition.Runtime (in System.Composition.Runtime.dll)
public: generic<typename TExport> IEnumerable<TExport>^ GetExports( String^ contractName )
Parameters
- contractName
-
Type:
System::String^
The name to match.
Return Value
Type: System.Collections.Generic::IEnumerable<TExport>^A collection of exported values.
Type Parameters
- TExport
The type to match.
Show: