ContractBasedImportDefinition.IsConstraintSatisfiedBy Method

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)

public override bool IsConstraintSatisfiedBy(
	ExportDefinition exportDefinition
)

Parameters

exportDefinition
Type: System.ComponentModel.Composition.Primitives.ExportDefinition
The export definition to test.

Return Value

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

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show: