CompositionContext::GetExport Method (CompositionContract^)

.NET Framework (current version)
 

Returns the export that matches the specified contract.

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

public:
Object^ GetExport(
	CompositionContract^ contract
)

Parameters

contract
Type: System.Composition.Hosting.Core::CompositionContract^

The contract to match.

Return Value

Type: System::Object^

The exported value.

Return to top
Show: