ExportFactory<T>.CreateExport Method

Definition

Creates an instance of the factory's export type.

public:
 System::ComponentModel::Composition::ExportLifetimeContext<T> ^ CreateExport();
public System.ComponentModel.Composition.ExportLifetimeContext<T> CreateExport ();
member this.CreateExport : unit -> System.ComponentModel.Composition.ExportLifetimeContext<'T>
Public Function CreateExport () As ExportLifetimeContext(Of T)

Returns

A valid instance of the factory's exported type.

Applies to