PartConventionBuilder.Export 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.
Overloads
Export() |
Exports the part with its concrete type as the contract type. |
Export(Action<ExportConventionBuilder>) |
Exports the part that has the specified configuration. |
Export<T>() |
Exports the part that has the specified contract type. |
Export<T>(Action<ExportConventionBuilder>) |
Exports the part that has the specified contract type by using the specified configuration. |
Export()
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
Exports the part with its concrete type as the contract type.
public:
System::Composition::Convention::PartConventionBuilder ^ Export();
public System.Composition.Convention.PartConventionBuilder Export ();
member this.Export : unit -> System.Composition.Convention.PartConventionBuilder
Public Function Export () As PartConventionBuilder
Returns
A part builder that can be used to further configure the part.
Applies to
Export(Action<ExportConventionBuilder>)
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
Exports the part that has the specified configuration.
public:
System::Composition::Convention::PartConventionBuilder ^ Export(Action<System::Composition::Convention::ExportConventionBuilder ^> ^ exportConfiguration);
public System.Composition.Convention.PartConventionBuilder Export (Action<System.Composition.Convention.ExportConventionBuilder> exportConfiguration);
member this.Export : Action<System.Composition.Convention.ExportConventionBuilder> -> System.Composition.Convention.PartConventionBuilder
Public Function Export (exportConfiguration As Action(Of ExportConventionBuilder)) As PartConventionBuilder
Parameters
- exportConfiguration
- Action<ExportConventionBuilder>
An action that configures the part.
Returns
A part builder that can be used to further configure the part.
Applies to
Export<T>()
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
Exports the part that has the specified contract type.
public:
generic <typename T>
System::Composition::Convention::PartConventionBuilder ^ Export();
public System.Composition.Convention.PartConventionBuilder Export<T> ();
member this.Export : unit -> System.Composition.Convention.PartConventionBuilder
Public Function Export(Of T) () As PartConventionBuilder
Type Parameters
- T
The contract type.
Returns
A part builder that can be used to further configure the part.
Applies to
Export<T>(Action<ExportConventionBuilder>)
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
- Source:
- PartConventionBuilder.cs
Exports the part that has the specified contract type by using the specified configuration.
public:
generic <typename T>
System::Composition::Convention::PartConventionBuilder ^ Export(Action<System::Composition::Convention::ExportConventionBuilder ^> ^ exportConfiguration);
public System.Composition.Convention.PartConventionBuilder Export<T> (Action<System.Composition.Convention.ExportConventionBuilder> exportConfiguration);
member this.Export : Action<System.Composition.Convention.ExportConventionBuilder> -> System.Composition.Convention.PartConventionBuilder
Public Function Export(Of T) (exportConfiguration As Action(Of ExportConventionBuilder)) As PartConventionBuilder
Type Parameters
- T
The contract type.
Parameters
- exportConfiguration
- Action<ExportConventionBuilder>
An action that configures the part.
Returns
A part builder that can be used to further configure the part.