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::AddMetadata Method (String^, Object^)

.NET Framework (current version)
 

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

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

public:
ExportConventionBuilder^ AddMetadata(
	String^ name,
	Object^ value
)

Parameters

name
Type: System::String^

The name of the metadata to add.

value
Type: System::Object^

The value of the metadata to add.

Return Value

Type: System.Composition.Convention::ExportConventionBuilder^

An export builder that provides further configuration.

Return to top
Show:
© 2017 Microsoft