ContractName Property
Collapse the table of content
Expand the table of content

ExportAttribute.ContractName Property

 

Gets the contract name that is used to export the type or member marked with this attribute.

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 that is used to export the type or member marked with this attribute. The default value 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:
© 2016 Microsoft