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.

ExportConventionBuilder Class

.NET Framework (current version)
 

Configures an export that is associated with a part.

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

System::Object
System.Composition.Convention::ExportConventionBuilder

public ref class ExportConventionBuilder sealed 

NameDescription
System_CAPS_pubmethodAddMetadata(String^, Func<Type^, Object^>^)

Adds metadata that has the specified name and value to the export.

System_CAPS_pubmethodAddMetadata(String^, Object^)

Adds metadata that has the specified name and value to the export.

System_CAPS_pubmethodAsContractName(Func<Type^, String^>^)

Specifies the contract name for the export based on the result of the specified function on the export type.

System_CAPS_pubmethodAsContractName(String^)

Specifies the contract name for the export.

System_CAPS_pubmethodAsContractType(Type^)

Specifies the contract type for the export.

System_CAPS_pubmethodAsContractType<T>()

Specifies the contract type for the export as a generic type.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2017 Microsoft