ContractBasedImportDefinition.RequiredMetadata プロパティ

定義

インポート定義に必要なエクスポートのメタデータ名を取得します。

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> コレクションを返します。

適用対象