ComposablePart.ExportDefinitions 屬性

定義

取得一組 ExportDefinition 描述該零件匯出物件的物件集合。

public:
 abstract property System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Primitives::ExportDefinition ^> ^ ExportDefinitions { System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Primitives::ExportDefinition ^> ^ get(); };
public abstract System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ExportDefinition> ExportDefinitions { get; }
member this.ExportDefinitions : seq<System.ComponentModel.Composition.Primitives.ExportDefinition>
Public MustOverride ReadOnly Property ExportDefinitions As IEnumerable(Of ExportDefinition)

屬性值

一組 ExportDefinition 描述由 ComposablePart所提供的匯出物件的集合。

例外狀況

ComposablePart 物體已被處理掉。

備註

如果物件 ComposablePart 是由物件 ComposablePartDefinition 建立的,這個屬性應該會回傳 的 ExportDefinitions結果。

此屬性的覆寫不應再回來 null。 如果沒有 ComposablePart 匯出,則回傳一個空 IEnumerable<T> 的集合。

適用於