CompositionContext::GetExport<TExport> Method ()

.NET Framework (current version)
 

Returns the export that matches the specified generic type parameter.

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

public:
generic<typename TExport>
TExport GetExport()

Return Value

Type: TExport

The exported value.

Type Parameters

TExport

The type to match.

Return to top
Show: