Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ExportAttribute::ContractType Property

.NET Framework (current version)
 

Gets the contract type that is exported by the member that is marked by this attribute.

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

public:
property Type^ ContractType {
	Type^ get();
	private: void set(Type^ value);
}

Property Value

Type: System::Type^

The type of export to 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.

Return to top
Show:
© 2017 Microsoft