Sdílet prostřednictvím


ComposablePartDefinition.Metadata Vlastnost

Definice

Získá kolekci metadat pro tento ComposablePartDefinition objekt.

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)

Hodnota vlastnosti

Kolekce, která obsahuje metadata pro ComposablePartDefinition. Výchozí hodnota je prázdný objekt jen pro IDictionary<TKey,TValue> čtení.

Poznámky

Přepsání této vlastnosti by mělo vrátit objekt jen pro IDictionary<TKey,TValue> čtení s jazykovým porovnávačem, který rozlišuje malá a velká písmena, například Ordinal, a nikdy by neměl vracet null. Pokud objekt ComposablePartDefinition neobsahuje metadata, vrátí místo toho prázdný IDictionary<TKey,TValue> objekt.

Platí pro