Parts Property
Collapse the table of content
Expand the table of content

Deployment.Parts Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a collection of assembly parts that are included in the deployment.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public AssemblyPartCollection Parts { get; }
<Deployment xmlns="http://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.

Dependency property identifier field: PartsProperty

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2018 Microsoft