AttributedModelServices.AddExportedValue Method

 
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 a specified value and adds it to a composition batch.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAddExportedValue<T>(CompositionBatch, T)

Creates a part from the specified value and adds it to the specified batch.

System_CAPS_pubmethodSystem_CAPS_staticAddExportedValue<T>(CompositionBatch, String, T)

Creates a part from the specified value and adds it to the specified batch with the specified contract name.

Return to top
Show: