共用方式為


CompositionDependency.IsPrerequisite Property

Definition

Gets a value indicating whether the dependency is a prerequisite that must be satisfied before any exports can be retrieved from the dependent part.

public:
 property bool IsPrerequisite { bool get(); };
public bool IsPrerequisite { get; }
member this.IsPrerequisite : bool
Public ReadOnly Property IsPrerequisite As Boolean

Property Value

true if the dependency is a prerequisite; otherwise, false.

Applies to