CompositionContext::GetExports Method (Type^, String^)

.NET Framework (current version)
 

Returns all exports that match the specified contract name and type.

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

public:
IEnumerable<Object^>^ GetExports(
	Type^ exportType,
	String^ contractName
)

Parameters

exportType
Type: System::Type^

The type to match.

contractName
Type: System::String^

The name to match.

Return Value

Type: System.Collections.Generic::IEnumerable<Object^>^

A collection of exported values.

Return to top
Show: