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)

'Declaration
Public Property ContractName As String

Property Value

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

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft