CompositionContainer.GetExportedValueOrDefault Method

 

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

NameDescription
System_CAPS_pubmethodGetExportedValueOrDefault<T>()

Gets the exported object with the contract name derived from the specified type parameter or the default value for the specified type, or throws an exception if there is more than one matching exported object.(Inherited from ExportProvider.)

System_CAPS_pubmethodGetExportedValueOrDefault<T>(String)

Gets the exported object with the specified contract name or the default value for the specified type, or throws an exception if there is more than one matching exported object.(Inherited from ExportProvider.)

Return to top
Show: