CompositionBatch Constructors
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.
Initializes a new instance of the CompositionBatch class.
Overloads
CompositionBatch() |
Initializes a new instance of the CompositionBatch class. |
CompositionBatch(IEnumerable<ComposablePart>, IEnumerable<ComposablePart>) |
Initializes a new instance of the CompositionBatch class with the specified parts for addition and removal. |
CompositionBatch()
- Source:
- CompositionBatch.cs
- Source:
- CompositionBatch.cs
- Source:
- CompositionBatch.cs
- Source:
- CompositionBatch.cs
Initializes a new instance of the CompositionBatch class.
public:
CompositionBatch();
public CompositionBatch ();
Public Sub New ()
Applies to
CompositionBatch(IEnumerable<ComposablePart>, IEnumerable<ComposablePart>)
- Source:
- CompositionBatch.cs
- Source:
- CompositionBatch.cs
- Source:
- CompositionBatch.cs
- Source:
- CompositionBatch.cs
Initializes a new instance of the CompositionBatch class with the specified parts for addition and removal.
public:
CompositionBatch(System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Primitives::ComposablePart ^> ^ partsToAdd, System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Primitives::ComposablePart ^> ^ partsToRemove);
public CompositionBatch (System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ComposablePart>? partsToAdd, System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ComposablePart>? partsToRemove);
public CompositionBatch (System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ComposablePart> partsToAdd, System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ComposablePart> partsToRemove);
new System.ComponentModel.Composition.Hosting.CompositionBatch : seq<System.ComponentModel.Composition.Primitives.ComposablePart> * seq<System.ComponentModel.Composition.Primitives.ComposablePart> -> System.ComponentModel.Composition.Hosting.CompositionBatch
Public Sub New (partsToAdd As IEnumerable(Of ComposablePart), partsToRemove As IEnumerable(Of ComposablePart))
Parameters
- partsToAdd
- IEnumerable<ComposablePart>
A collection of ComposablePart objects to add.
- partsToRemove
- IEnumerable<ComposablePart>
A collection of ComposablePart objects to remove.
Exceptions
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈