PartBuilder.Export Method
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 that matching types should be exported.
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. |
- 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
.NET 9 (package-provided) ve diğer sürümler
Ürün | Sürümler |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.1 (package-provided) |
- 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
.NET 9 (package-provided) ve diğer sürümler
Ürün | Sürümler |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.1 (package-provided) |
- 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
.NET 9 (package-provided) ve diğer sürümler
Ürün | Sürümler |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.1 (package-provided) |
- 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
.NET 9 (package-provided) ve diğer sürümler
Ürün | Sürümler |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.1 (package-provided) |
.NET geri bildirimi
.NET, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: