ExportAttribute.ContractName Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: