Metadata Property
Collapse the table of content
Expand the table of content

ComposablePartDefinition.Metadata Property

Gets a collection of the metadata for this ComposablePartDefinition object.

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 for the ComposablePartDefinition. The default is an empty, read-only IDictionary<TKey, TValue> object.

Overrides of this property should return a read-only IDictionary<TKey, TValue> object with a case-sensitive, non-linguistic comparer, such as Ordinal, and should never return null. If the ComposablePartDefinition does not contain metadata, return an empty IDictionary<TKey, TValue> object instead.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2016 Microsoft