ImportConventionBuilder::AddMetadataConstraint Method (String^, Object^)
.NET Framework (current version)
Adds a constraint to the import requiring the specified metadata name and value.
Assembly: System.Composition.Convention (in System.Composition.Convention.dll)
Parameters
- name
-
Type:
System::String^
The required metadata name.
- value
-
Type:
System::Object^
The required metadata value.
Return Value
Type: System.Composition.Convention::ImportConventionBuilder^An import builder that provides further configuration.
Show: