다음을 통해 공유


Deployment.Current Property

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

Gets the current Deployment object.

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

Syntax

'Declaration
Public Shared ReadOnly Property Current As Deployment
public static Deployment Current { get; }

Property Value

Type: System.Windows.Deployment
The current Deployment object.

Remarks

You can retrieve a Deployment object in managed code through the Current property. This gives you read-only access to the deployment settings. To set deployment values, you must modify the AppManifest.xaml file deployed with your application package.

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.