ExtensionPart.Source Property

Gets or sets the file name or URI of the external library package.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Overrides Property Source As Uri
public override Uri Source { get; set; }
<ExtensionPart Source="string" />

Property Value

Type: System.Uri
The file name or URI of the external library package.

Remarks

The Source property indicates the name of an application library package or an absolute URI that identifies an application library package. Files identified by name only are retrieved from the same server location as the .xap file.

For more information, see How to: Use Application Library Caching.

NoteNote:

Files identified by URI must be on the same domain as the .xap file or on a domain with a cross-domain policy file. For more information, see HTTP Communication and Security with Silverlight.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

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