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))
プロパティ値
ContractBasedImportDefinitionに必要なExport オブジェクトのメタデータ名を含むString オブジェクトのコレクション。 既定値は空の IEnumerable<T> コレクションです。
注釈
このプロパティのオーバーライドは、nullを返したり、nullされている要素を含むIEnumerable<T> コレクションを返したりしないでください。 定義に必要なメタデータが含まれていない場合は、代わりに空の IEnumerable<T> コレクションを返します。