次の方法で共有


CatalogExportProvider.SourceProvider Property

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

Gets or sets the export provider which provides access to additional exports.

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

Syntax

'Declaration
Public Property SourceProvider As ExportProvider
public ExportProvider SourceProvider { get; set; }

Property Value

Type: System.ComponentModel.Composition.Hosting.ExportProvider
The export provider that provides the CatalogExportProvider access to additional Export objects. The default is nulla null reference (Nothing in Visual Basic).

Exceptions

Exception Condition
ObjectDisposedException

The CatalogExportProvider has been disposed of.

ArgumentNullException

value is nulla null reference (Nothing in Visual Basic).

InvalidOperationException

This property has already been set.

-or-

The methods on the CatalogExportProvider object have already been accessed.

Remarks

This property must be set before accessing any methods on the CatalogExportProvider object.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.