編輯

共用方式為


CompositionContainer.SatisfyImportsOnce(ComposablePart) Method

Definition

Satisfies the imports of the specified ComposablePart object without registering it for recomposition.

public:
 virtual void SatisfyImportsOnce(System::ComponentModel::Composition::Primitives::ComposablePart ^ part);
public void SatisfyImportsOnce (System.ComponentModel.Composition.Primitives.ComposablePart part);
abstract member SatisfyImportsOnce : System.ComponentModel.Composition.Primitives.ComposablePart -> unit
override this.SatisfyImportsOnce : System.ComponentModel.Composition.Primitives.ComposablePart -> unit
Public Sub SatisfyImportsOnce (part As ComposablePart)

Parameters

part
ComposablePart

The part to satisfy the imports of.

Implements

Exceptions

The CompositionContainer object has been disposed of.

part is null.

An error occurred during composition. Errors will contain a collection of the errors that occurred.

Applies to