共用方式為


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 表示沒有撰寫交易。

適用於