ComposablePartDefinition.Metadata 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得該 ComposablePartDefinition 物件的元資料集合。
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; }
member this.Metadata : System.Collections.Generic.IDictionary<string, obj>
Public Overridable ReadOnly Property Metadata As IDictionary(Of String, Object)
屬性值
一個包含 中繼資料的集合。ComposablePartDefinition 預設為空且唯讀 IDictionary<TKey,TValue> 的物件。
備註
覆寫此特性的處理應回傳一個唯讀 IDictionary<TKey,TValue> 物件,且帶有代寫且非語言的比較器,例如 Ordinal,且絕不應回傳 null。 如果 不 ComposablePartDefinition 包含元資料,則回傳一個空 IDictionary<TKey,TValue> 物件。