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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기