AttributedModelServices.ComposeParts Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Creates composable parts from an array of attributed objects and composes them in the specified composition container.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub ComposeParts ( _
    container As CompositionContainer, _
    ParamArray attributedParts As Object() _
)
public static void ComposeParts(
    this CompositionContainer container,
    params Object[] attributedParts
)

Parameters

  • attributedParts
    Type: array<System.Object[]
    An array of attributed objects to compose.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CompositionContainer. When you use instance method syntax to call this method, omit the first parameter.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.