Edit

Bagikan melalui


ImportEngine.ReleaseImports(ComposablePart, AtomicComposition) Method

Definition

Releases all the exports used to satisfy the imports of the specified part.

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)

Parameters

part
ComposablePart

The part to release the imports of.

atomicComposition
AtomicComposition

The composition transaction to use, or null for no composition transaction.

Applies to