ExportDescriptor::Create Method (CompositeActivator^, IDictionary<String^, Object^>^)

.NET Framework (current version)
 

Creates an export descriptor that has the specified activator and metadata.

Namespace:   System.Composition.Hosting.Core
Assembly:  System.Composition.Hosting (in System.Composition.Hosting.dll)

public:
static ExportDescriptor^ Create(
	CompositeActivator^ activator,
	IDictionary<String^, Object^>^ metadata
)

Parameters

activator
Type: System.Composition.Hosting.Core::CompositeActivator^

The activator.

metadata
Type: System.Collections.Generic::IDictionary<String^, Object^>^

The metadata.

Return Value

Type: System.Composition.Hosting.Core::ExportDescriptor^

The created descriptor.

Return to top
Show: