ExportAttribute.ContractType 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 type that is exported by the member that this attribute is attached to.

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

public Type ContractType { get; private set; }

Property Value

Type: System.Type

The type of export that is be provided. The default value is null, which means that the type will be obtained by looking at the type on the member that this export is attached to.

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