Deployment.Parts Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets a collection of assembly parts that are included in the deployment.
Namespace: System.Windows
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
Public ReadOnly Property Parts As AssemblyPartCollection
public AssemblyPartCollection Parts { get; }
<Deployment xmlns="https://schemas.microsoft.com/client/2007/deployment" ...>
<Deployment.Parts>
zeroOrMoreAssemblyParts
</Deployment.Parts>
</Deployment>
XAML Values
- zeroOrMoreAssemblyParts
One or more AssemblyPart object elements. Each such AssemblyPart is expected to have a unique Source value, and one of the AssemblyPart items should specify the EntryPointAssembly. This is documented as "zero or more" because often by default the build will generate an empty "Deployment.Parts" property element in the manifest, which is valid.
Property Value
Type: System.Windows.AssemblyPartCollection
The collection of assembly parts. The default is an empty collection.
Remarks
Dependency property identifier field: PartsProperty
For more information, see Application Structure.
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.