ContractBasedImportDefinition.RequiredMetadata 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得匯入定義所需出口的元資料名稱。
public:
virtual property System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Type ^>> ^ RequiredMetadata { System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Type ^>> ^ get(); };
public virtual System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Type>> RequiredMetadata { get; }
member this.RequiredMetadata : seq<System.Collections.Generic.KeyValuePair<string, Type>>
Public Overridable ReadOnly Property RequiredMetadata As IEnumerable(Of KeyValuePair(Of String, Type))
屬性值
一組String包含所需ContractBasedImportDefinition物件元資料名稱Export的物件集合。 預設是空 IEnumerable<T> 集合。
備註
對此屬性的覆寫絕不應回傳 null 或回傳 IEnumerable<T> 包含元素的 null集合。 若定義中不包含必要的元資料,則回傳空 IEnumerable<T> 集合。