Export (0) Print
Expand All

ApplicationDeployment.DataDirectory Property

Gets the path to the ClickOnce data directory.

Namespace:  System.Deployment.Application
Assembly:  System.Deployment (in System.Deployment.dll)

public string DataDirectory { get; }

Property Value

Type: System.String
A string containing the path to the application's data directory on the local disk.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft