Compartir a través de


ContractBasedImportDefinition.IsConstraintSatisfiedBy Method

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

Returns a value indicating whether the constraint represented by this object is satisfied by the export represented by the given export definition.

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

Syntax

'Declaration
Public Overrides Function IsConstraintSatisfiedBy ( _
    exportDefinition As ExportDefinition _
) As Boolean
public override bool IsConstraintSatisfiedBy(
    ExportDefinition exportDefinition
)

Parameters

Return Value

Type: System.Boolean
true if the constraint is satisfied; otherwise, false.

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.