다음을 통해 공유


ImportDefinition.IsPrerequisite Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a value that indicates whether the import definition must be satisfied before a part can start producing exported objects.

Namespace:  System.ComponentModel.Composition.Primitives
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property IsPrerequisite As Boolean
public virtual bool IsPrerequisite { get; }

Property Value

Type: System.Boolean
true if the ImportDefinition must be satisfied before a ComposablePart object can start producing exported objects; otherwise, false. The default is true.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.