CompositionContext::GetExport<TExport> Method (String^)

.NET Framework (current version)
 

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

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

public:
generic<typename TExport>
TExport GetExport(
	String^ contractName
)

Parameters

contractName
Type: System::String^

The name to match.

Return Value

Type: TExport

The exported value.

Type Parameters

TExport

The type to match.

Return to top
Show: