AttributedModelServices::CreatePart Method (ComposablePartDefinition^, Object^)
.NET Framework (current version)
Creates a composable part from the specified attributed object, using the specified part definition.
Assembly: System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)
public: static ComposablePart^ CreatePart( ComposablePartDefinition^ partDefinition, Object^ attributedPart )
Parameters
- partDefinition
-
Type:
System.ComponentModel.Composition.Primitives::ComposablePartDefinition^
The definition of the new part.
- attributedPart
-
Type:
System::Object^
The attributed object.
.NET Framework
Available since 4.5
Available since 4.5
Show: