ExportDefinition.Metadata Tulajdonság

Definíció

Lekéri a szerződés metaadatait.

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)

Tulajdonság értéke

A metaadatok a ExportDefinition. Az alapértelmezett érték egy üres, írásvédett IDictionary<TKey,TValue> objektum.

Megjegyzések

A tulajdonság felülbírálásának egy írásvédett IDictionary<TKey,TValue> objektumot kell visszaadnia egy kis- és nagybetűket megkülönböztető, nem nyelvi összehasonlítóval, például Ordinal, és soha nem szabad visszaadnia null.

Ha a ExportDefinition rendszer nem tartalmaz metaadatokat, akkor üres értéket IDictionary<TKey,TValue> ad vissza.

A következőre érvényes: