PartBuilder.ExportInterfaces Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a set of interfaces that should be exported on the matching types.
Overloads
| ExportInterfaces() | Specifies that all the interfaces of the matching types should be exported. | 
| ExportInterfaces(Predicate<Type>) | Specifies a set of interfaces on the matching types that should be exported. | 
| ExportInterfaces(Predicate<Type>, Action<Type,ExportBuilder>) | Specifies a set of interfaces on the matching types that should be exported, and provides configuration information for the resulting exports. | 
ExportInterfaces()
- Source:
- PartBuilder.cs
- Source:
- PartBuilder.cs
- Source:
- PartBuilder.cs
Specifies that all the interfaces of the matching types should be exported.
public:
 System::ComponentModel::Composition::Registration::PartBuilder ^ ExportInterfaces();public System.ComponentModel.Composition.Registration.PartBuilder ExportInterfaces();member this.ExportInterfaces : unit -> System.ComponentModel.Composition.Registration.PartBuilderPublic Function ExportInterfaces () As PartBuilderReturns
The current object, to allow chaining.
Applies to
ExportInterfaces(Predicate<Type>)
- Source:
- PartBuilder.cs
- Source:
- PartBuilder.cs
- Source:
- PartBuilder.cs
Specifies a set of interfaces on the matching types that should be exported.
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.PartBuilderPublic Function ExportInterfaces (interfaceFilter As Predicate(Of Type)) As PartBuilderParameters
Returns
The current object, to allow chaining.
Exceptions
interfaceFilter is null.
Remarks
This method will not export IDisposable or IPartImportsSatisfiedNotification objects.
Applies to
ExportInterfaces(Predicate<Type>, Action<Type,ExportBuilder>)
- Source:
- PartBuilder.cs
- Source:
- PartBuilder.cs
- Source:
- PartBuilder.cs
Specifies a set of interfaces on the matching types that should be exported, and provides configuration information for the resulting exports.
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.PartBuilderPublic Function ExportInterfaces (interfaceFilter As Predicate(Of Type), exportConfiguration As Action(Of Type, ExportBuilder)) As PartBuilderParameters
- exportConfiguration
- Action<Type,ExportBuilder>
An object that contains configuration information about the export. The default value is null.
Returns
The current object, to allow chaining.
Exceptions
interfaceFilter is null.
Remarks
This method will not export IDisposable or IPartImportsSatisfiedNotification objects.