Share via


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

這個屬性的覆寫不應該傳回 nullComposablePart如果 沒有匯出,請改為傳回空IEnumerable<T>的集合。

適用於