Export (0) Print
Expand All

ExportAttribute.ContractType Property

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft