CompositionBatch.AddExport(Export) 方法

定义

CompositionBatch 对象中添加指定的导出。

public:
 System::ComponentModel::Composition::Primitives::ComposablePart ^ AddExport(System::ComponentModel::Composition::Primitives::Export ^ export);
public System.ComponentModel.Composition.Primitives.ComposablePart AddExport (System.ComponentModel.Composition.Primitives.Export export);
member this.AddExport : System.ComponentModel.Composition.Primitives.Export -> System.ComponentModel.Composition.Primitives.ComposablePart
Public Function AddExport (export As Export) As ComposablePart

参数

export
Export

要添加到 CompositionBatch 对象中的导出。

返回

所添加的部件。

例外

exportnull

适用于