Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ContainerConfiguration::WithParts Method (IEnumerable<Type^>^)

.NET Framework (current version)
 

Adds the specified part types to the container.

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

public:
ContainerConfiguration^ WithParts(
	IEnumerable<Type^>^ partTypes
)

Parameters

partTypes
Type: System.Collections.Generic::IEnumerable<Type^>^

A collection of part types to add.

Return Value

Type: System.Composition.Hosting::ContainerConfiguration^

An object that provides further configuration.

Return to top
Show:
© 2017 Microsoft