ExportProvider.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.
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.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft