PartBuilder.ExportInterfaces メソッド

定義

一致する型にエクスポートする必要があるインターフェイスのセットを指定します。

オーバーロード

名前 説明
ExportInterfaces()

一致する型のすべてのインターフェイスをエクスポートすることを指定します。

ExportInterfaces(Predicate<Type>)

エクスポートする必要がある一致する型のインターフェイスのセットを指定します。

ExportInterfaces(Predicate<Type>, Action<Type,ExportBuilder>)

エクスポートする必要がある一致する型のインターフェイスのセットを指定し、結果のエクスポートの構成情報を提供します。

ExportInterfaces()

一致する型のすべてのインターフェイスをエクスポートすることを指定します。

public:
 System::ComponentModel::Composition::Registration::PartBuilder ^ ExportInterfaces();
public System.ComponentModel.Composition.Registration.PartBuilder ExportInterfaces();
member this.ExportInterfaces : unit -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ExportInterfaces () As PartBuilder

返品

チェーンを許可する現在のオブジェクト。

適用対象

ExportInterfaces(Predicate<Type>)

エクスポートする必要がある一致する型のインターフェイスのセットを指定します。

public:
 System::ComponentModel::Composition::Registration::PartBuilder ^ ExportInterfaces(Predicate<Type ^> ^ interfaceFilter);
public System.ComponentModel.Composition.Registration.PartBuilder ExportInterfaces(Predicate<Type> interfaceFilter);
member this.ExportInterfaces : Predicate<Type> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ExportInterfaces (interfaceFilter As Predicate(Of Type)) As PartBuilder

パラメーター

interfaceFilter
Predicate<Type>

インターフェイスのセットを指定する述語。

返品

チェーンを許可する現在のオブジェクト。

例外

interfaceFilternullです。

注釈

このメソッドは、 IDisposable または IPartImportsSatisfiedNotification オブジェクトをエクスポートしません。

適用対象

ExportInterfaces(Predicate<Type>, Action<Type,ExportBuilder>)

エクスポートする必要がある一致する型のインターフェイスのセットを指定し、結果のエクスポートの構成情報を提供します。

public:
 System::ComponentModel::Composition::Registration::PartBuilder ^ ExportInterfaces(Predicate<Type ^> ^ interfaceFilter, Action<Type ^, System::ComponentModel::Composition::Registration::ExportBuilder ^> ^ exportConfiguration);
public System.ComponentModel.Composition.Registration.PartBuilder ExportInterfaces(Predicate<Type> interfaceFilter, Action<Type,System.ComponentModel.Composition.Registration.ExportBuilder> exportConfiguration);
member this.ExportInterfaces : Predicate<Type> * Action<Type, System.ComponentModel.Composition.Registration.ExportBuilder> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ExportInterfaces (interfaceFilter As Predicate(Of Type), exportConfiguration As Action(Of Type, ExportBuilder)) As PartBuilder

パラメーター

interfaceFilter
Predicate<Type>

インターフェイスのセットを指定する述語。

exportConfiguration
Action<Type,ExportBuilder>

エクスポートに関する構成情報を含むオブジェクト。 既定値は null です。

返品

チェーンを許可する現在のオブジェクト。

例外

interfaceFilternullです。

注釈

このメソッドは、 IDisposable または IPartImportsSatisfiedNotification オブジェクトをエクスポートしません。

適用対象