ImportEngine.ReleaseImports(ComposablePart, AtomicComposition) 方法

定义

释放用于满足指定部件的导入的所有导出。

public:
 void ReleaseImports(System::ComponentModel::Composition::Primitives::ComposablePart ^ part, System::ComponentModel::Composition::Hosting::AtomicComposition ^ atomicComposition);
public void ReleaseImports (System.ComponentModel.Composition.Primitives.ComposablePart part, System.ComponentModel.Composition.Hosting.AtomicComposition atomicComposition);
public void ReleaseImports (System.ComponentModel.Composition.Primitives.ComposablePart part, System.ComponentModel.Composition.Hosting.AtomicComposition? atomicComposition);
member this.ReleaseImports : System.ComponentModel.Composition.Primitives.ComposablePart * System.ComponentModel.Composition.Hosting.AtomicComposition -> unit
Public Sub ReleaseImports (part As ComposablePart, atomicComposition As AtomicComposition)

参数

part
ComposablePart

要释放其导入的部件。

atomicComposition
AtomicComposition

要使用的组合事务,或为 null 表示没有组合事务。

适用于