ImportDefinition.Metadata Property

.NET Framework (current version)

Gets the metadata associated with this import.

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

public virtual IDictionary<string, object> Metadata { get; }

Property Value

Type: System.Collections.Generic.IDictionary<String, Object>

A collection that contains the metadata associated with this import.

This property should never return null. Imports with no metadata should return an empty IDictionary<TKey, TValue> collection.

.NET Framework
Available since 4.5
Return to top