AttributedModelServices::AddPart Method (CompositionBatch^, Object^)
.NET Framework (current version)
Creates a composable part from the specified attributed object, and adds it to the specified composition batch.
Assembly: System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)
public: [ExtensionAttribute] static ComposablePart^ AddPart( CompositionBatch^ batch, Object^ attributedPart )
Parameters
- batch
-
Type:
System.ComponentModel.Composition.Hosting::CompositionBatch^
The batch to add to.
- attributedPart
-
Type:
System::Object^
The object to add.
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Show: