AttributedModelServices::CreatePartDefinition Method (Type^, ICompositionElement^)

 

Creates a part definition with the specified type and origin.

Namespace:   System.ComponentModel.Composition
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

public:
static ComposablePartDefinition^ CreatePartDefinition(
	Type^ type,
	ICompositionElement^ origin
)

Parameters

type
Type: System::Type^

The type of the definition.

origin
Type: System.ComponentModel.Composition.Primitives::ICompositionElement^

The origin of the definition.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show: