Condividi tramite


AssemblyPart.Source Property

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

Gets the Uri that identifies an assembly as an assembly part.

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

Syntax

'Declaration
Public Property Source As String
public string Source { get; set; }
<Deployment xmlns="https://schemas.microsoft.com/client/2007/deployment" ...>
  <Deployment.Parts>
    <AssemblyPart Source="string" .../>
  </Deployment.Parts>
</Deployment>

Property Value

Type: System.String
A String that is the assembly, which is identified as an assembly part.

Remarks

The value of the Source property should be the physical name of the assembly, including the .dll file extension. For example, Application.dll.

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.