AttributedModelServices.ComposeExportedValue<T> Method (CompositionContainer, T)
.NET Framework (current version)
![]() |
---|
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.
Assembly: System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)
public static void ComposeExportedValue<T>( this CompositionContainer container, T exportedValue )
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
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Show: