ImportDefinition.IsConstraintSatisfiedBy Method (ExportDefinition)

 

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)

public virtual 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 constraints are satisfied; otherwise, false.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show: