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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om