Export (0) Print
Expand All

CompositionContainer.GetExportedValueOrDefault Method

Gets a specified exported object or a default value if it is unavailable.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by Portable Class Library GetExportedValueOrDefault<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.)
Public method Supported by Portable Class Library GetExportedValueOrDefault<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.)
Top
Show:
© 2015 Microsoft