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::AsContractName Method

.NET Framework (current version)
 

Sets the contract name of the import.

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

NameDescription
System_CAPS_pubmethodAsContractName(Func<Type^, String^>^)

Sets the contract name of the import to the value provided by the specified function on the part type.

System_CAPS_pubmethodAsContractName(String^)

Sets the contract name of the import to the specified string.

Return to top
Show:
© 2017 Microsoft