AttributedModelServices.ComposeExportedValue<'T> Method (CompositionContainer, 'T)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a part from the specified value and composes it in the specified composition container.

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

static member ComposeExportedValue<'T> : 
        container:CompositionContainer *
        exportedValue:'T -> unit

Parameters

container
Type: System.ComponentModel.Composition.Hosting.CompositionContainer

The composition container to perform composition in.

exportedValue
Type: T

The value to compose.

Type Parameters

T

The type of the new part.

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