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: