Поделиться через


ExportProvider.GetExportedValueOrDefault Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public method 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 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