ContainerConfiguration::WithPart Method (Type^)

.NET Framework (current version)
 

Adds a specified part type to the container.

Namespace:   System.Composition.Hosting
Assembly:  System.Composition.TypedParts (in System.Composition.TypedParts.dll)

public:
ContainerConfiguration^ WithPart(
	Type^ partType
)

Parameters

partType
Type: System::Type^

The part type to add.

Return Value

Type: System.Composition.Hosting::ContainerConfiguration^

An object that provides further configuration.

Return to top
Show: