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::AsContractName Method
.NET Framework (current version)
Sets the contract name of the import.
Assembly: System.Composition.Convention (in System.Composition.Convention.dll)
| Name | Description | |
|---|---|---|
![]() | AsContractName(Func<Type^, String^>^) | Sets the contract name of the import to the value provided by the specified function on the part type. |
![]() | AsContractName(String^) | Sets the contract name of the import to the specified string. |
Show:
