ComposablePart.ImportDefinitions プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
パーツに必要なインポートされたオブジェクトを記述する ImportDefinition オブジェクトのコレクションを取得します。
public:
abstract property System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Primitives::ImportDefinition ^> ^ ImportDefinitions { System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Primitives::ImportDefinition ^> ^ get(); };
public abstract System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ImportDefinition> ImportDefinitions { get; }
member this.ImportDefinitions : seq<System.ComponentModel.Composition.Primitives.ImportDefinition>
Public MustOverride ReadOnly Property ImportDefinitions As IEnumerable(Of ImportDefinition)
プロパティ値
ComposablePartに必要なインポートされたオブジェクトを記述するImportDefinition オブジェクトのコレクション。
例外
ComposablePart オブジェクトが破棄されました。
注釈
ComposablePart オブジェクトがComposablePartDefinition オブジェクトから作成された場合、このプロパティはImportDefinitionsの結果を返す必要があります。
このプロパティをオーバーライドすると、 nullが返されることはありません。
ComposablePartにインポートがない場合は、代わりに空のIEnumerable<T> コレクションを返します。