Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImportConventionBuilder::AddMetadataConstraint Method

.NET Framework (current version)
 

Adds a metadata constraint to the import.

Namespace:   System.Composition.Convention
Assembly:  System.Composition.Convention (in System.Composition.Convention.dll)

NameDescription
System_CAPS_pubmethodAddMetadataConstraint(String^, Func<Type^, Object^>^)

Adds a constraint to the import requiring the specified metadata name and the value provided by the specified function on the part type.

System_CAPS_pubmethodAddMetadataConstraint(String^, Object^)

Adds a constraint to the import requiring the specified metadata name and value.

Return to top
Show:
© 2017 Microsoft