Edit

Share via


ComposablePartDefinition.Metadata Property

Definition

Gets a collection of the metadata for this ComposablePartDefinition object.

public:
 virtual property System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ Metadata { System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ get(); };
public virtual System.Collections.Generic.IDictionary<string,object?> Metadata { get; }
public virtual System.Collections.Generic.IDictionary<string,object> Metadata { get; }
member this.Metadata : System.Collections.Generic.IDictionary<string, obj>
Public Overridable ReadOnly Property Metadata As IDictionary(Of String, Object)

Property Value

A collection that contains the metadata for the ComposablePartDefinition. The default is an empty, read-only IDictionary<TKey,TValue> object.

Remarks

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.

Applies to