ImportConventionBuilder::AsContractName Method (String^)

.NET Framework (current version)
 

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

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

public:
ImportConventionBuilder^ AsContractName(
	String^ contractName
)

Parameters

contractName
Type: System::String^

The contract name of the import.

Return Value

Type: System.Composition.Convention::ImportConventionBuilder^

An import builder that provides further configuration.

Return to top
Show: