AggregateCatalog.GetExports(ImportDefinition) メソッド

定義

指定した定義で表される制約に一致するエクスポート定義を取得します。

public:
 override System::Collections::Generic::IEnumerable<Tuple<System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^, System::ComponentModel::Composition::Primitives::ExportDefinition ^> ^> ^ GetExports(System::ComponentModel::Composition::Primitives::ImportDefinition ^ definition);
public override System.Collections.Generic.IEnumerable<Tuple<System.ComponentModel.Composition.Primitives.ComposablePartDefinition,System.ComponentModel.Composition.Primitives.ExportDefinition>> GetExports(System.ComponentModel.Composition.Primitives.ImportDefinition definition);
override this.GetExports : System.ComponentModel.Composition.Primitives.ImportDefinition -> seq<System.ComponentModel.Composition.Primitives.ComposablePartDefinition * System.ComponentModel.Composition.Primitives.ExportDefinition>
Public Overrides Function GetExports (definition As ImportDefinition) As IEnumerable(Of Tuple(Of ComposablePartDefinition, ExportDefinition))

パラメーター

definition
ImportDefinition

返される ExportDefinition オブジェクトの条件。

返品

definitionで指定された制約に一致するオブジェクトのExportDefinition オブジェクトとそれに関連付けられたComposablePartDefinition オブジェクトを含むTuple<T1,T2>のコレクション。

例外

AggregateCatalog オブジェクトが破棄されました。

definitionnullです。

適用対象