ImportAttribute.ContractName Property

 

Gets the contract name of the export to import.

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

public string ContractName { get; private set; }

Property Value

Type: System.String

The contract name of the export to import. The default is an empty string ("").

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show: