Edit

Share via


PartBuilder.Export Method

Definition

Specifies that matching types should be exported.

Overloads

Export()

Specifies that matching types should be exported.

Export(Action<ExportBuilder>)

Specifies that matching types should be exported, and provides configuration information for the resulting exports.

Export<T>()

Specifies that matching types should be exported by using the specified contract type.

Export<T>(Action<ExportBuilder>)

Specifies that matching types should be exported by using the specified contract type, and provides configuration information for the resulting exports.

Export()

Source:
PartBuilder.cs
Source:
PartBuilder.cs

Specifies that matching types should be exported.

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

Returns

The current object, to allow chaining.

Applies to

Export(Action<ExportBuilder>)

Source:
PartBuilder.cs
Source:
PartBuilder.cs

Specifies that matching types should be exported, and provides configuration information for the resulting exports.

public:
 System::ComponentModel::Composition::Registration::PartBuilder ^ Export(Action<System::ComponentModel::Composition::Registration::ExportBuilder ^> ^ exportConfiguration);
public System.ComponentModel.Composition.Registration.PartBuilder Export (Action<System.ComponentModel.Composition.Registration.ExportBuilder> exportConfiguration);
member this.Export : Action<System.ComponentModel.Composition.Registration.ExportBuilder> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function Export (exportConfiguration As Action(Of ExportBuilder)) As PartBuilder

Parameters

exportConfiguration
Action<ExportBuilder>

An object that contains configuration information about the export. The default value is null.

Returns

The current object, to allow chaining.

Applies to

Export<T>()

Source:
PartBuilder.cs
Source:
PartBuilder.cs

Specifies that matching types should be exported by using the specified contract type.

public:
generic <typename T>
 System::ComponentModel::Composition::Registration::PartBuilder ^ Export();
public System.ComponentModel.Composition.Registration.PartBuilder Export<T> ();
member this.Export : unit -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function Export(Of T) () As PartBuilder

Type Parameters

T

The type of contract.

Returns

The current object, to allow chaining.

Applies to

Export<T>(Action<ExportBuilder>)

Source:
PartBuilder.cs
Source:
PartBuilder.cs

Specifies that matching types should be exported by using the specified contract type, and provides configuration information for the resulting exports.

public:
generic <typename T>
 System::ComponentModel::Composition::Registration::PartBuilder ^ Export(Action<System::ComponentModel::Composition::Registration::ExportBuilder ^> ^ exportConfiguration);
public System.ComponentModel.Composition.Registration.PartBuilder Export<T> (Action<System.ComponentModel.Composition.Registration.ExportBuilder> exportConfiguration);
member this.Export : Action<System.ComponentModel.Composition.Registration.ExportBuilder> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function Export(Of T) (exportConfiguration As Action(Of ExportBuilder)) As PartBuilder

Type Parameters

T

The type of contract.

Parameters

exportConfiguration
Action<ExportBuilder>

An object that contains configuration information about the export. The default value is null.

Returns

The current object, to allow chaining.

Applies to