Compartir a través de


ImportDefinition.IsConstraintSatisfiedBy Method

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

Gets a value that indicates whether the export represented by the specified definition satisfies the constraints of this import definition.

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

Syntax

'Declaration
Public Overridable Function IsConstraintSatisfiedBy ( _
    exportDefinition As ExportDefinition _
) As Boolean
public virtual bool IsConstraintSatisfiedBy(
    ExportDefinition exportDefinition
)

Parameters

Return Value

Type: System.Boolean
true if the constraints are 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.