PartBuilder.ExportInterfaces Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Anger en uppsättning gränssnitt som ska exporteras på matchande typer.
Överlagringar
| Name | Description |
|---|---|
| ExportInterfaces() |
Anger att alla gränssnitt för matchande typer ska exporteras. |
| ExportInterfaces(Predicate<Type>) |
Anger en uppsättning gränssnitt för matchande typer som ska exporteras. |
| ExportInterfaces(Predicate<Type>, Action<Type,ExportBuilder>) |
Anger en uppsättning gränssnitt för matchande typer som ska exporteras och innehåller konfigurationsinformation för den resulterande exporten. |
ExportInterfaces()
- Källa:
- PartBuilder.cs
- Källa:
- PartBuilder.cs
- Källa:
- PartBuilder.cs
- Källa:
- PartBuilder.cs
Anger att alla gränssnitt för matchande typer ska exporteras.
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
Returer
Det aktuella objektet, för att tillåta länkning.
Gäller för
ExportInterfaces(Predicate<Type>)
- Källa:
- PartBuilder.cs
- Källa:
- PartBuilder.cs
- Källa:
- PartBuilder.cs
- Källa:
- PartBuilder.cs
Anger en uppsättning gränssnitt för matchande typer som ska exporteras.
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
Parametrar
Returer
Det aktuella objektet, för att tillåta länkning.
Undantag
interfaceFilter är null.
Kommentarer
Den här metoden exporterar IDisposable inte eller IPartImportsSatisfiedNotification objekt.
Gäller för
ExportInterfaces(Predicate<Type>, Action<Type,ExportBuilder>)
- Källa:
- PartBuilder.cs
- Källa:
- PartBuilder.cs
- Källa:
- PartBuilder.cs
- Källa:
- PartBuilder.cs
Anger en uppsättning gränssnitt för matchande typer som ska exporteras och innehåller konfigurationsinformation för den resulterande exporten.
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
Parametrar
- exportConfiguration
- Action<Type,ExportBuilder>
Ett objekt som innehåller konfigurationsinformation om exporten. Standardvärdet är null.
Returer
Det aktuella objektet, för att tillåta länkning.
Undantag
interfaceFilter är null.
Kommentarer
Den här metoden exporterar IDisposable inte eller IPartImportsSatisfiedNotification objekt.