共用方式為


Deployment.ExternalParts Property

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

Gets a collection of ExternalPart instances that represent the external assemblies required by the application.

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

Syntax

'Declaration
Public ReadOnly Property ExternalParts As ExternalPartCollection
public ExternalPartCollection ExternalParts { get; }
<Deployment xmlns="https://schemas.microsoft.com/client/2007/deployment">
  <Deployment.ExternalParts>
    oneOrMoreExternalPartElements
  </Deployment.ExternalParts>
</Deployment>

XAML Values

  • oneOrMoreExternalPartElements
    One or more object elements that represent ExternalPart instances. Currently, only the ExtensionPart class derives from ExternalPart. Each ExtensionPart object element represents an external assembly package that is available use with application library caching.

Property Value

Type: System.Windows.ExternalPartCollection
The collection of external assembly parts. The default is an empty collection.

Remarks

Dependency property identifier field: ExternalPartsProperty

This property identifies the external library packages that are required by the application, if any. These files are downloaded at application startup separately from the application package. This enables more efficient caching on the user's computer, which can decrease startup times for return visitors. For more information, see How to: Use Application Library Caching.

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.