ExportBuilder.AddMetadata Method (String, Object)

.NET Framework (current version)
 

Specifies a metadata key/value pair to be added to the export.

Namespace:   System.ComponentModel.Composition.Registration
Assembly:  System.ComponentModel.Composition.Registration (in System.ComponentModel.Composition.Registration.dll)

public ExportBuilder AddMetadata(
	string name,
	object value
)

Parameters

name
Type: System.String

The metadata key.

value
Type: System.Object

The metadata value.

Return Value

Type: System.ComponentModel.Composition.Registration.ExportBuilder

The current object, to allow chaining.

.NET Framework
Available since 4.5
Return to top
Show: